summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_chroot
diff options
context:
space:
mode:
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