Build GuideΒΆ
git clone git@github.com:bernardocrodrigues/cosmic-utils.git cosmic
cd cosmic;
Run
setup
script. This will download all Yocto related source files and a Docker container in which you perform the build. All dependencies are preinstalled.
./setup
Run
enter_build_env
script. This will start a container, mount your home directory inside it and get you in a bash session. This way, your built files will persist even if the container is removed.
./enter_build_env
Start Yocto. This will create a build folder and populate it with some config files.
cd src/yocto
source oe-init-build-env ../build
Substitute the files located in
build/conf/local.conf
andbuild/conf/bblayers.conf
with the ones you cloned in step 1. Change the value ofHOST_CORE_COUNT
onbuild/conf/local.conf
to the value that best suits your computer.Build it!
bitbake cosmic-base-image