[ipxe-devel] ISO images

Christian Hesse list at eworm.de
Mon Dec 9 18:30:10 UTC 2013


Christian Hesse <list at eworm.de> on Sat, 2013/12/07 10:38:
> Michael Brown <mbrown at fensystems.co.uk> on Sat, 2013/12/07 00:29:
> > On 27/11/13 11:27, Christian Hesse wrote:
> > > util/genliso required mkisofs to exist, I've updates it to find
> > > genisoimage instead if available.
> > >
> > > ISO filesystem header supports storing some extra information with no
> > > additional cost. I've updated the helper scripts to write some verbose
> > > info.
> > 
> > It looks as though we're now duplicating quite a lot of functionality 
> > between util/geniso and util/genliso.  Would you like to unify these 
> > scripts, so that we have e.g. a single util/geniso script which accepts 
> > a "--legacy" option?
> 
> Sure will do.

And here we go. Some things changed:

* I do use getopts to parse some command options. Makes it easier if number
  of options (-l specified or not) changes.

* All variables have brackets now, backticks replaced with $(...).

* The usage of 'which' did not work for me. (which gives "xxx not
  found" on standard output here.) Reworked that...

* For legacy image config is only included in floppy image, not in iso.

* File names are always in 8.3 notation to make config generation generic.

* ISO images do contain some extra information. (show with iso-info -i ...)

Probably I missed some news... Feel free to look at the code. Anything to
change?
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-build-merge-util-geniso-and-util-genliso.patch
Type: text/x-patch
Size: 7326 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20131209/7741d633/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20131209/7741d633/attachment.sig>


More information about the ipxe-devel mailing list