summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_chroot
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-12-22 22:20:58 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:03 +0100
commit6d215be0e7cf165c6fe14d265e7dfdc66dccbc05 (patch)
tree8e9769255e954c7e4145ae564e1178602ea75ffa /helpers/lh_binary_chroot
parent5707fadba2e8c87c2e33df5f2942196ad00ed7ca (diff)
downloadlive-build-6d215be0e7cf165c6fe14d265e7dfdc66dccbc05.zip
live-build-6d215be0e7cf165c6fe14d265e7dfdc66dccbc05.tar.gz
Correcting handling of precached chroot when using plain chroot filesystem.
Diffstat (limited to 'helpers/lh_binary_chroot')
-rwxr-xr-xhelpers/lh_binary_chroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_binary_chroot b/helpers/lh_binary_chroot
index 7612810..c65b7b5 100755
--- a/helpers/lh_binary_chroot
+++ b/helpers/lh_binary_chroot
@@ -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