Simplyfing chroot copying in lh_binary_chroot.

This commit is contained in:
Daniel Baumann 2009-11-11 13:15:46 +01:00
parent c9943f079f
commit 9b38ed621e

View File

@ -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.