FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 11-03-2011, 05:18 PM
Jos Vos
 
Default 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
 
Old 11-03-2011, 08:08 PM
Jos Vos
 
Default 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
 

Thread Tools




All times are GMT. The time now is 01:14 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org