[SCM] Debian Live build scripts branch, master, updated. 1.0.0-2-19-g803b470
Chris Lamb
chris at chris-lamb.co.uk
Tue Sep 9 16:57:47 UTC 2008
The following commit has been merged in the master branch:
commit 803b47083758f6102d1d2777e5ac79236bcf4578
Author: Chris Lamb <chris at chris-lamb.co.uk>
Date: Tue Sep 9 17:56:53 2008 +0100
Use tar to perform lh_bootstrap_copy (Closes: #498385)
Signed-off-by: Chris Lamb <chris at chris-lamb.co.uk>
diff --git a/helpers/lh_bootstrap_copy b/helpers/lh_bootstrap_copy
index 2b3c199..349df5b 100755
--- a/helpers/lh_bootstrap_copy
+++ b/helpers/lh_bootstrap_copy
@@ -51,7 +51,9 @@ Check_lockfile .lock
Create_lockfile .lock
# Copying host system
-find / ! -name /proc ! -name /sys ! -name "$(dirname ${PWD})" | xargs cp -a chroot
+cd chroot
+tar c / --exclude /proc --exclude /sys "$(dirname ${PWD})" | tar xv
+cd ..
# Creating stage file
Create_stagefile .stage/bootstrap
--
Debian Live build scripts
More information about the debian-live-changes
mailing list