Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Build System (http://www.linux-archive.org/fedora-build-system/)
-   -   Adding extra files to ISOs created by pungi (http://www.linux-archive.org/fedora-build-system/594318-adding-extra-files-isos-created-pungi.html)

Jos Vos 11-03-2011 05:18 PM

Adding extra files to ISOs created by pungi
 
Hi,

When making a custom spin of Fedora for a specific set of machines
using pungi, I feel the need to be able to add extra files to the
ISO. In particular one or more kickstart files that can be used
during the installation. Preferably this feature should be generic,
adding some file/directory glob, IMHO.

When googling I do not seem to be the only one with this idea.
But, most of these mails are from 3+ years ago and I do not see an
option in pungi allowing me to do this (but I hope I'm wrong...).

So my question: is there a (maybe dirty) trick to do this.

Now I'm thinking of re-mkisofs'ing the ISO, running implant* etc.
again (did anyone make a script for this already?), but talking
about dirtyness, this is a pretty "expensive" way of doing it.

Any suggestions?
Thanks,

--
-- Jos Vos <jos@xos.nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Jos Vos 11-03-2011 08:08 PM

Adding extra files to ISOs created by pungi
 
On Thu, Nov 03, 2011 at 07:18:05PM +0100, Jos Vos wrote:

> When making a custom spin of Fedora for a specific set of machines
> using pungi, I feel the need to be able to add extra files to the
> ISO. In particular one or more kickstart files that can be used
> during the installation. Preferably this feature should be generic,
> adding some file/directory glob, IMHO.
>
> When googling I do not seem to be the only one with this idea.
> But, most of these mails are from 3+ years ago and I do not see an
> option in pungi allowing me to do this (but I hope I'm wrong...).
>
> So my question: is there a (maybe dirty) trick to do this.
>
> Now I'm thinking of re-mkisofs'ing the ISO, running implant* etc.
> again (did anyone make a script for this already?), but talking
> about dirtyness, this is a pretty "expensive" way of doing it.

To answer my own question (not sure if this is good or bad ;-)):

I got the the idea of using "growisofs" for adding (in my case) a
kickstart file and then running "implantisomd5" again. This seems
to work (I only tested it with KVM with CD-ROM ISO files). Example:

growisofs -U -J -R -T -M Fedora-15-x86_64-DVD.iso ks.cfg
implantisomd5 Fedora-15-x86_64-DVD.iso

This is pretty straightforward and easy.

Are there any caveats in manipulating the ISO image this way?

--
-- Jos Vos <jos@xos.nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys


All times are GMT. The time now is 11:35 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.