diff options
author | Chris Lamb <lamby@debian.org> | 2008-09-19 19:57:58 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:42 +0100 |
commit | 4210fbf03c43f6e3e0c0501ea124b47358759840 (patch) | |
tree | 760f5816ea088f92131eb5cb09d39c091022ef95 | |
parent | 4f69f55921340b332b1acc0affd53a1791ad7ca1 (diff) | |
download | live-build-4210fbf03c43f6e3e0c0501ea124b47358759840.zip live-build-4210fbf03c43f6e3e0c0501ea124b47358759840.tar.gz |
Really fix LH_BOOTSTRAP="copy". Thanks to Andreas Teuchert <ant+bdo@hsg-kl.de>. (Closes: #498385)
-rwxr-xr-x | helpers/lh_bootstrap_copy | 3 |
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 |