elementaryOS Team for their ISO build script
As horizon is built with the Debian version of live-build
, not the Ubuntu patched version, it's easiest to build an horizon .iso in a Debian VM or container. This prevents messing up your host system too.
The following examples assume you have Docker correctly installed and set up, and that your current working directory is this repo. When done, your image will be in the builds
folder.
See what is the release name of release you want to build, then run:
docker run --rm --privileged -it \
-v /proc:/proc \
-v ${PWD}:/working_dir \
-w /working_dir \
debian:latest \
./build.sh etc/[release name].conf
for example to build Horizon 1.0 run this:
docker run --rm --privileged -it \
-v /proc:/proc \
-v ${PWD}:/working_dir \
-w /working_dir \
debian:latest \
./build.sh etc/denali.conf
docker run --rm --privileged -it \
-v /proc:/proc \
-v ${PWD}:/working_dir \
-w /working_dir \
ubuntu:22.04 \
./build-rpi.sh
docker run --rm --privileged -it \
-v /proc:/proc \
-v ${PWD}:/working_dir \
-w /working_dir \
ubuntu:20.04 \
./build-pinebookpro.sh
More information about the concepts behind live-build
and the technical decisions made to arrive at this set of tools to build an .iso can be found on the wiki.