[Fedora-livecd-list] [PATCH] --addXdir , facility to easily add external directories to target sysrootfs OR isofs
Douglas McClendon
dmc.fedora at filteredperception.org
Wed Jul 25 23:06:16 UTC 2007
attached is a patch which gaging from the history of this list, will be welcomed.
I know there may already be some similar functionality already in revisor, this
patch adds it to livecd-tools
The two new options are
--addidir=<directory>
and
--addsdir=<directory>
Both may be invoked any number of times. The contents of the directories
specified, will be copied to the target livecd. addsdir adds the contents to
the rootfs of the target, while addidir adds the contents to the iso9660fs of
the target.
An example might be to use this to add an index.html and autorun.bat to the iso
so that when the iso is popped in a winblowz machine, a webpage from the cdrom
will automatically launch.
The addidir copy happens just before mkisofs, so this can be used to easily
replace /isolinux/splash.jpg
The addsdir copy happens after installation, but before the selinux relabel and
optional prelink.
These semantics are up for debate. Test and enjoy...
As always, comments, criticisms, suggestions are welcome.
-dmc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: livecd.addxdirs.patch
Type: text/x-patch
Size: 5640 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-livecd-list/attachments/20070725/6852f39a/attachment.bin>
More information about the Fedora-livecd-list
mailing list