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
Show replies by date