Correcting handling of precached chroot when using plain chroot filesystem.

This commit is contained in:
Daniel Baumann 2009-12-22 22:20:58 +01:00
parent 5707fadba2
commit 6d215be0e7
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ ${LH_ROOT_COMMAND} rm -rf chroot/chroot
${LH_ROOT_COMMAND} rm -rf chroot.tmp
# Copying new chroot
if [ -d cache/stages_bootstrap ]
if [ -d cache/stages_bootstrap ] && [ "${LH_CHROOT_FILESYSTEM}" != "plain" ]
then
${LH_ROOT_COMMAND} mv chroot chroot.tmp
${LH_ROOT_COMMAND} cp -a cache/stages_bootstrap chroot