Page MenuHomePureOS Tracker

Howto Build PureOS images
Updated 1,876 Days AgoPublic

Version 2 of 5: You are viewing an older version of this document, as it appeared on Mar 18 2019, 14:19.

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;

  1. 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.)

  1. Install live-build and other tools
$ apt install live-build git ca-certificates
  1. 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.

  1. Run lb config
  2. Run lb build
  3. Have fun with a fresh new PureOS image!
Last Author
jeremiah.foster
Last Edited
Mar 18 2019, 14:19

Event Timeline

jeremiah.foster created this document.Mar 18 2019, 12:06
jeremiah.foster edited the content of this document. (Show Details)
jeremiah.foster edited the content of this document. (Show Details)Mar 18 2019, 14:19
jeremiah.foster edited the content of this document. (Show Details)Mar 18 2019, 14:24
jeremiah.foster edited the content of this document. (Show Details)Apr 5 2019, 08:20