summaryrefslogtreecommitdiff
path: root/scripts/build/binary_chroot
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-30 14:17:53 +0100
committerDaniel Baumann <daniel@debian.org>2012-12-30 14:19:02 +0100
commit52262ab8f9d284fecae8af096b1e820472fafd55 (patch)
tree07521bd682747a3c77ff995bf75b748254f8e395 /scripts/build/binary_chroot
parent27f9ebb269a3ed8b5765eb379c29566f6e547c92 (diff)
downloadvyos-live-build-52262ab8f9d284fecae8af096b1e820472fafd55.tar.gz
vyos-live-build-52262ab8f9d284fecae8af096b1e820472fafd55.zip
Correcting glitch with plain chroot filesystems in binary_chroot.
Diffstat (limited to 'scripts/build/binary_chroot')
-rwxr-xr-xscripts/build/binary_chroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/binary_chroot b/scripts/build/binary_chroot
index 598fff5fc..e98f6e979 100755
--- a/scripts/build/binary_chroot
+++ b/scripts/build/binary_chroot
@@ -85,7 +85,7 @@ ${LB_ROOT_COMMAND} rm -rf chroot/chroot
${LB_ROOT_COMMAND} rm -rf chroot.tmp
# Copying new chroot
-if [ -d cache/bootstrap ] && [ "${LB_CHROOT_FILESYSTEM}" != "none" ]
+if [ -d cache/bootstrap ] && [ "${LB_CHROOT_FILESYSTEM}" != "none" ] && [ "${LB_CHROOT_FILESYSTEM}" != "plain" ]
then
${LB_ROOT_COMMAND} mv chroot chroot.tmp
${LB_ROOT_COMMAND} cp -a cache/bootstrap chroot