Use tar to perform lh_bootstrap_copy (Closes: #498385)

This commit is contained in:
Chris Lamb 2008-09-09 17:56:53 +01:00 committed by Daniel Baumann
parent f5fc8b9c9f
commit 9c13ebdf48
1 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,9 @@ Check_lockfile .lock
Create_lockfile .lock
# Copying host system
find / ! -name /proc ! -name /sys ! -name "$(dirname ${PWD})" | xargs cp -a chroot
cd chroot
tar c / --exclude /proc --exclude /sys "$(dirname ${PWD})" | tar xv
cd ..
# Creating stage file
Create_stagefile .stage/bootstrap