Howto Build PureOS images
PureOS provides convenient pre-built images for use on computer and in Virtual Machines, you can find those images here: https://downloads.puri.sm/
It is also possible to build a PureOS image. Purism does this when we want to test the reproducibility of a PureOS image. Here's how it's done;
- Prepare an appropriate environment.
If you're already running PureOS on your build machine, then you're all set. If you're running another GNU/Linux distribution it is likely best to set up a chroot or to use a tool like debspawn (discussed below.)
- Install live-build and other tools
$ apt install live-build git ca-certificates
- Clone via git our configuration for PureOS
$ cd /srv && git clone https://source.puri.sm/pureos/infra/make-live.git $ cd /srv/make-live
Currently we build a number of images; gnome-live, gnome-oem, plasma-live. Exporting the type of image you want into your environment is needed if you want to overide the default;
$ export FLAVOR="gnome-oem"
If no FLAVOR variable is set, the GNOME Live Flavor will be built by default.
- Run lb config
- Run lb build
- Have fun with a fresh new PureOS image!
- Last Author
- jeremiah.foster
- Last Edited
- Mar 18 2019, 14:19