summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-30 14:17:53 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:03 +0200
commite08aa46019f8ef56b14025d3e91d297977a28585 (patch)
tree3de70d98587529c444af7f7e43f7db77fec55b43 /scripts
parentd49278344e941aff61279a4fa07c9ddf59498f3a (diff)
downloadvyos-live-build-e08aa46019f8ef56b14025d3e91d297977a28585.tar.gz
vyos-live-build-e08aa46019f8ef56b14025d3e91d297977a28585.zip
Correcting glitch with plain chroot filesystems in binary_chroot.
Diffstat (limited to 'scripts')
-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