Hi again,

Here's another local patch I have:

if LIVE_CONFIG is set to any non-empty value, save a copy of the config
directory on the live CD.

Maybe I should change the option to LIVE_CONFIG_TARGET_DIR and have it
point to the the target directiry (binary/tools/live/config , in thi
case)?

--- /usr/bin/lh_binary_manifest_orig    2007-04-05 23:55:53.000000000
+0300
+++ /usr/bin/lh_binary_manifest 2007-04-13 23:57:49.000000000 +0300
@@ -45,5 +45,12 @@
 # Add packages.list
 Chroot "dpkg -l" > packages.txt
 
+if [ -n "${LIVE_COPYCONFIG}" ]; then
+       mkdir -p binary/tools/live/config
+       # -C: CVS mode, to exclude CVS / .svn etc.
+       rsync -a -C --del config/ binary/tools/live/config
+       cp -a packages.txt binary/tools/live/
+fi
+
 # Creating stage file
 Create_stagefile .stage/binary_manifest

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:[EMAIL PROTECTED]
+972-50-7952406           mailto:[EMAIL PROTECTED]       
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

_______________________________________________
Debian-live-devel mailing list
Debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Reply via email to