summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-09-09 17:56:53 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:41 +0100
commit9c13ebdf48ee1f4391f2d48e7cd2473b8449f497 (patch)
tree45a02981f07e722fafb3b398f8d58519b4fe7bbd
parentf5fc8b9c9f8f60e7d8c4b4eaa7ee17d8451d1e55 (diff)
downloadlive-build-9c13ebdf48ee1f4391f2d48e7cd2473b8449f497.zip
live-build-9c13ebdf48ee1f4391f2d48e7cd2473b8449f497.tar.gz
Use tar to perform lh_bootstrap_copy (Closes: #498385)
-rwxr-xr-xhelpers/lh_bootstrap_copy4
1 files changed, 3 insertions, 1 deletions
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