Simplyfing chroot copying in lh_binary_chroot.
This commit is contained in:
parent
c9943f079f
commit
9b38ed621e
@ -88,13 +88,13 @@ if [ -d cache/stages_bootstrap ]
|
||||
then
|
||||
${LH_ROOT_COMMAND} mv chroot chroot.tmp
|
||||
${LH_ROOT_COMMAND} cp -a cache/stages_bootstrap chroot
|
||||
${LH_ROOT_COMMAND} mv chroot.tmp chroot/chroot
|
||||
${LH_ROOT_COMMAND} touch chroot/chroot.cache
|
||||
else
|
||||
${LH_ROOT_COMMAND} cp -a chroot chroot.tmp
|
||||
${LH_ROOT_COMMAND} mv chroot.tmp chroot/chroot
|
||||
fi
|
||||
|
||||
${LH_ROOT_COMMAND} mv chroot.tmp chroot/chroot
|
||||
|
||||
if [ -f config/binary_rootfs/exclude ]
|
||||
then
|
||||
# Read exclude file and expand wildcards.
|
||||
|
Loading…
Reference in New Issue
Block a user