[PureOS] Building my own PureOS ISO image?
Jeremiah C. Foster
jeremiah.foster at puri.sm
Fri Mar 8 11:29:21 PST 2019
On Thu, 2019-03-07 at 16:18 -0500, Jeremiah C. Foster wrote:
> On Wed, 2019-03-06 at 22:04 +0100, Matthias Klumpp wrote:
> > Am Mi., 6. März 2019 um 19:56 Uhr schrieb Chris Lamb <
> >
> > In order to use debspawn, just follow these steps:
> > 1) Run `sudo apt install debspawn`
> > 2) Then run `debspawn create green`
> > 3) Create a new "build-pureos.sh" file with the following contents:
> > ```
> > #!/bin/sh
> > set -e
> > set -x
> >
> > export FLAVOR="gnome-live"
> > export DEBIAN_FRONTEND=noninteractive
> > apt-get install -y git ca-certificates
> > apt-get install -y live-build
> >
> > git clone --depth=2
> > https://source.puri.sm/pureos/infra/make-live.git
> > /srv/build/lb
> > cd /srv/build/lb/
> >
> > lb config
> > lb build
> >
> > b2sum *.iso *.contents *.zsync *.packages > checksums.b2sum
> > sha256sum *.iso *.contents *.zsync *.packages > checksums.sha256sum
> > mv *.iso /srv/artifacts
> > mv -f *.zsync /srv/artifacts
> > mv -f *.contents /srv/artifacts
> > mv -f *.files /srv/artifacts
> > mv -f *.packages /srv/artifacts
> > mv -f *.b2sum /srv/artifacts
> > mv -f *.sha256sum /srv/artifacts
> > ```
> > 4) Make the .sh file executable and set the FLAVOR you want.
> > 5) Tell debspawn to run the build and where to place the build
> > result:
> > `debspawn run --external-command
> > --artifacts-out=/where/to/put/the/built/image green
> > /path/to/build-pureos.sh`
Doing this `debspawn run --external-command --artifacts-out=build green
./build-pureos.sh` produces
"
┌──────────────────────┐
│ Running Task │
└──────────────────────┘
Failed to parse --bind(-ro)= argument build:/srv/artifacts/: Invalid
argument
"
Creating that directory doesn't make much of a difference.
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/bd5264df/attachment.sig>
More information about the Pureos-project
mailing list