From 9c13ebdf48ee1f4391f2d48e7cd2473b8449f497 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Tue, 9 Sep 2008 17:56:53 +0100 Subject: Use tar to perform lh_bootstrap_copy (Closes: #498385) --- helpers/lh_bootstrap_copy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.0