Back in the reign of Henry VIII, there was an option to livecd-creator to add a named package to an existing iso image ('--package'). Is there just no way of doing this any more?
It is odd, because the '--base' option is still there. But I can't find a way to use it sensibly. I've tried creating a kickstart file that just reads
%packages blither %end
and then run
livecd-creator --base=existing.iso --config=extra.ks
but I get a moan about not having defined any repositories. Do I really have to create a complete kickstart file just to add one package? Intuitively the idea seems sensible: unpack the squashfs image somewhere, chroot, yum install blither (using whatever repos are defined inside the image), repack.
Ta.
James
On Wed, Feb 03, 2010 at 08:32:03 +0000, James Heather j.heather@surrey.ac.uk wrote:
but I get a moan about not having defined any repositories. Do I really have to create a complete kickstart file just to add one package?
If you are basing off of a standard spin you can include the kickstart file for that spin. You can install spin-kickstarts to get the standard kickstart files installed on your system.
On 02/03/2010 03:32 AM, James Heather wrote:
Intuitively the idea seems sensible: unpack the squashfs image somewhere, chroot, yum install blither (using whatever repos are defined inside the image), repack.
A while Ago I posted a script to the list that does just this:
http://lists.fedoraproject.org/pipermail/livecd/attachments/20090922/8564731...
I am still looking for feed back on this script. I would like to see something like this included in livecd-tools, especially now that there seems to be some interest in this.
comments....
-David
On 02/03/2010 03:32 AM, James Heather wrote:
Intuitively the idea seems sensible: unpack the squashfs image somewhere, chroot, yum install blither (using whatever repos are
defined
inside the image), repack.
A while Ago I posted a script to the list that does just this:
http://lists.fedoraproject.org/pipermail/livecd/attachments/20090922/85 647312/attachment.py
I am still looking for feed back on this script. I would like to see something like this included in livecd-tools, especially now that there seems to be some interest in this.
Ah, that's great. I wasn't subscribed at that point so I missed it. I'll have a look.
It occurs to me that there's a more general way of doing this that might also be useful, which is to rebuild the squashfs image by combining it with the persistent overlay. In other words, inject the overlay contents into the squashfs and repack.
James
On 02/17/2010 10:36 AM, J.Heather@surrey.ac.uk wrote:
On 02/03/2010 03:32 AM, James Heather wrote:
Intuitively the idea seems sensible: unpack the squashfs image somewhere, chroot, yum install blither (using whatever repos are
defined
inside the image), repack.
A while Ago I posted a script to the list that does just this:
http://lists.fedoraproject.org/pipermail/livecd/attachments/20090922/85 647312/attachment.py
I am still looking for feed back on this script. I would like to see something like this included in livecd-tools, especially now that there seems to be some interest in this.
Ah, that's great. I wasn't subscribed at that point so I missed it. I'll have a look.
It occurs to me that there's a more general way of doing this that might also be useful, which is to rebuild the squashfs image by combining it with the persistent overlay. In other words, inject the overlay contents into the squashfs and repack.
James, thanks for the feedback. I am open to any suggestions on a better way to do this. Initially we were using a "simple" bash script, and this was an attempt to incorporate the existing livecd-tools work for a better way of editing a livecd.iso.
One issues we were seeing with the bash script was the image size would increase dramatically, just but unpacking editing a file and repacking. We were hoping that by reusing the livecd code we could also reuse the image-minimizing stuff and not see this large size increase.
-David
----- Original message -----
On 02/17/2010 10:36 AM, J.Heather@surrey.ac.uk wrote:
On 02/03/2010 03:32 AM, James Heather wrote:
Intuitively the idea seems sensible: unpack the squashfs image somewhere, chroot, yum install blither (using whatever repos are
defined
inside the image), repack.
A while Ago I posted a script to the list that does just this:
http://lists.fedoraproject.org/pipermail/livecd/attachments/20090922/85 647312/attachment.py
I am still looking for feed back on this script. I would like to see something like this included in livecd-tools, especially now that there seems to be some interest in this.
Ah, that's great. I wasn't subscribed at that point so I missed it. I'll have a look.
It occurs to me that there's a more general way of doing this that might also be useful, which is to rebuild the squashfs image by combining it with the persistent overlay. In other words, inject the overlay contents into the squashfs and repack.
James, thanks for the feedback. I am open to any suggestions on a better way to do this. Initially we were using a "simple" bash script, and this was an attempt to incorporate the existing livecd-tools work for a better way of editing a livecd.iso.
One issues we were seeing with the bash script was the image size would increase dramatically, just but unpacking editing a file and repacking. We were hoping that by reusing the livecd code we could also reuse the image-minimizing stuff and not see this large size increase.
-David
livecd mailing list livecd@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/livecd
livecd@lists.fedoraproject.org