summaryrefslogtreecommitdiff
path: root/helpers/lh_bootstrap_copy
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_bootstrap_copy')
-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 349df5bf7..550991b25 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