diff options
author | Daniel Baumann <daniel@debian.org> | 2009-12-22 22:20:58 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2009-12-22 22:20:58 +0100 |
commit | 199a6035febe64e0e2eafc6874b11b5d759b1c2e (patch) | |
tree | 8e9769255e954c7e4145ae564e1178602ea75ffa /helpers | |
parent | efe9508c907f1b1f96e684e77415fb0990eb28c6 (diff) | |
download | vyos-live-build-199a6035febe64e0e2eafc6874b11b5d759b1c2e.tar.gz vyos-live-build-199a6035febe64e0e2eafc6874b11b5d759b1c2e.zip |
Correcting handling of precached chroot when using plain chroot filesystem.
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/lh_binary_chroot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_binary_chroot b/helpers/lh_binary_chroot index 761281089..c65b7b56e 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 |