Page 1 of 1


Posted: Sat Aug 17, 2019 8:51
by welele

At the moment, i build a custom iso form spinbase image using molecule and a custom .spec file. But is there a way to start from the Xfce image instead.
I try changing the source iso in .spec file, but molecule can't handle the squash file of the Xfce image (in fact, molecule try to mount livecd.squash like in spinbase, when squash is LiveOs/squashfs.img ).
Is there a way to change this behaviour of molecule (Env variable? .spec entry? ).

Re: Remastering

Posted: Mon Aug 19, 2019 22:09
by albfneto
Please, if possible, post your custom .spec file , here or in a pastebin file (or alternative site)

Re: Remastering

Posted: Wed Aug 21, 2019 14:35
by welele
The spc file :

The spec is a copy of sabayon-amd64-xfce.spec of the sabayon molecule github repository, with some additionnal package in "package_to_add:" .

When i change "%env source_iso: ${SABAYON_MOLECULE_HOME:-/sabayon}/iso/Sabayon_Linux_${ISO_TAG:-LATEST}_amd64_SpinBase.iso" to
"%env source_iso: ${SABAYON_MOLECULE_HOME:-/sabayon}/iso/Sabayon_Linux_${ISO_TAG:-LATEST}_amd64_Xfce.iso", molecule fail to mount squash file.
Molecule mount the xfce iso correctly, but fail to unsquash livecd.squash. Which is normal since livecd.squash doesn't exist in Xfce iso and is called LiveOS/squash.img.