summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhelpers/lh_bootstrap_copy3
1 files changed, 2 insertions, 1 deletions
diff --git a/helpers/lh_bootstrap_copy b/helpers/lh_bootstrap_copy
index 349df5b..550991b 100755
--- a/helpers/lh_bootstrap_copy
+++ b/helpers/lh_bootstrap_copy
@@ -51,8 +51,9 @@ Check_lockfile .lock
Create_lockfile .lock
# Copying host system
+mkdir chroot
cd chroot
-tar c / --exclude /proc --exclude /sys "$(dirname ${PWD})" | tar xv
+tar c / --exclude /proc --exclude /sys --exclude "$(dirname ${PWD})" | tar xv
cd ..
# Creating stage file