summaryrefslogtreecommitdiff
path: root/helpers/lh_bootstrap_copy
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2008-09-19 19:57:58 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:42 +0100
commit4210fbf03c43f6e3e0c0501ea124b47358759840 (patch)
tree760f5816ea088f92131eb5cb09d39c091022ef95 /helpers/lh_bootstrap_copy
parent4f69f55921340b332b1acc0affd53a1791ad7ca1 (diff)
downloadlive-build-4210fbf03c43f6e3e0c0501ea124b47358759840.zip
live-build-4210fbf03c43f6e3e0c0501ea124b47358759840.tar.gz
Really fix LH_BOOTSTRAP="copy". Thanks to Andreas Teuchert <ant+bdo@hsg-kl.de>. (Closes: #498385)
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 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