The $LIVE_CHROOT is needed as I symlink in the l-h config directory and
hence the cd ../..  doesn't work.

Those groovy find arguments get rid of .svn directories that my config
directory is unfortunately littered with.
--- /home/hendry/projects/livecd/live-helper/helpers/lh_chroot_localincludes	2007-03-17 13:01:59.000000000 +0000
+++ /usr/bin/lh_chroot_localincludes	2007-03-20 22:07:08.000000000 +0000
@@ -31,7 +31,8 @@
 then
 	# Copying includes
 	cd config/chroot_localincludes
-	find . | cpio -dmpu ../../chroot
+    # exclude svn directories
+	find . -type f -a ! -path '*/.svn/*' | cpio -dmpu $LIVE_CHROOT
 	cd "${OLDPWD}"
 
 	# Creating stage file

Attachment: signature.asc
Description: Digital signature

_______________________________________________
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