From 4210fbf03c43f6e3e0c0501ea124b47358759840 Mon Sep 17 00:00:00 2001
From: Chris Lamb <lamby@debian.org>
Date: Fri, 19 Sep 2008 19:57:58 +0100
Subject: Really fix LH_BOOTSTRAP="copy". Thanks to Andreas Teuchert
 <ant+bdo@hsg-kl.de>. (Closes: #498385)

---
 helpers/lh_bootstrap_copy | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
-- 
cgit v1.0