Use tar to perform lh_bootstrap_copy (Closes: #498385)
This commit is contained in:
parent
f5fc8b9c9f
commit
9c13ebdf48
|
@ -51,7 +51,9 @@ Check_lockfile .lock
|
||||||
Create_lockfile .lock
|
Create_lockfile .lock
|
||||||
|
|
||||||
# Copying host system
|
# 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
|
# Creating stage file
|
||||||
Create_stagefile .stage/bootstrap
|
Create_stagefile .stage/bootstrap
|
||||||
|
|
Loading…
Reference in New Issue