Victor Chew wrote:
_ Is the "live/modules/" directory actually being used? Can it be used for customizations/updates?
Yes it is. All txz files with this directory will be extracted to root. The script to do that is in "/etc/rc.local". That was how I migrated the PMUBCD modules with minimal changes.
Any chance you could mention what changes were required? It might help for other similar customizations.
In the "isolinux/" directory:
1_ (Optional) Edit live.cfg,
in the first row.
1.2_ Add an adequate
directive before the first 'LABEL' directive.
1.3_ Save the new live.cfg.
2_ Delete all files except live.cfg, isolinux.bin, menu.c32.
3_ Change the file name of live.cfg to syslinux.cfg.
4_ Change the parent directory name from "isolinux/" to "syslinux/", which will work with both, optical media and USB drives.
5_ Adapt the ISO-building scripts so to use "syslinux/isolinux.bin" instead of "isolinux/isolinux.bin".
Note: If necessary / desired, edit the "md5sum.txt" content so to reflect the above changes, before (re)building a new ISO.
Is there any chance of getting rid of unused (or empty) directories? For instance, is the ".disk/" directory required to be included in the ISO image? If it is not really required but it is convenient, then I'd like to know in which situations.
The reason I mention ".disk/" as example is because, under Linux, this is "typically" a valid name, but under certain filesystems (like ISO9660 Level 1, or under FAT without LFN, as examples), it is not. So reducing the presence of this type of directories also reduces some potential compatibility problems.
Another example could be the "games" directories inside the sqfs (usr/, usr/local/).