[PureOS] Building my own PureOS ISO image?

Jeremiah C. Foster jeremiah.foster at puri.sm
Fri Mar 8 08:08:27 PST 2019


On Thu, 2019-03-07 at 22:25 +0100, Matthias Klumpp wrote:
> Am Do., 7. März 2019 um 22:19 Uhr schrieb Jeremiah C. Foster
> <jeremiah.foster at puri.sm>:
> > [...]
> > $ lb config
> > [2019-03-07 15:31:49] lb config
> > P: Executing auto/config script.
> > Using default flavor: gnome-live
> > ERROR: Run this first:
> > ln -sf sid /usr/share/live/build/data/debian-cd/green
> > 
> > I created the symlink and config worked. But I imagine the symlink
> > needs to be mentioned if I post this on the wiki somewhere?
> 
> This is odd - this error and extra step does not happen on the
> autobuilders. Are you really running all command in a PureOS chroot?

I don't think I was in a chroot in fact.

> > [...]
> > > These steps can be sped up a lot and be automated by using
> > > debspawn,
> > > which is used to create the official PureOS images in a
> > > controlled
> > > environment.
> > 
> > What does 'controlled' environment mean? The use of apt below leads
> > me
> > to believe that at least one will have to be on a Debian machine.
> > 
> > I'll test the below method tomorrow.
> 
> Debspawn is backed by systemd-nspawn, so it will create a container
> instead of just a plain chroot. This provides better isolation from
> the host system and some neat methods of controlling resource usage
> of
> the container.

systemd-nspawn is my preferred tool for containers in general, glad to
hear debspawn is using it.

> The build environment will also be always up-to-date without any
> cruft
> (as it gets recreated on build invocation), which might make the
> image
> build a bit easier to reproduce.

I'll test debspawn now.

Regards,

Jeremiah

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puri.sm/pipermail/pureos-project/attachments/20190308/0b5de7d4/attachment.sig>


More information about the Pureos-project mailing list