summaryrefslogtreecommitdiff
path: root/scripts/build/lb_binary_chroot
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-06-03 00:21:07 +0200
committerDaniel Baumann <daniel@debian.org>2011-06-03 00:38:09 +0200
commitb8eff5a2f2720dcf8aca9e5c681c32c64207a719 (patch)
tree2dd2c86296d47b53e5ed73671ae0e4ebe54516f4 /scripts/build/lb_binary_chroot
parent3cd5375fbd5c53d752a60e1106a9e775969ee326 (diff)
downloadvyos-live-build-b8eff5a2f2720dcf8aca9e5c681c32c64207a719.tar.gz
vyos-live-build-b8eff5a2f2720dcf8aca9e5c681c32c64207a719.zip
Restoring excludes functionality for mksquashfs. This was present some time ago but then got removed.
Diffstat (limited to 'scripts/build/lb_binary_chroot')
-rwxr-xr-xscripts/build/lb_binary_chroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/lb_binary_chroot b/scripts/build/lb_binary_chroot
index 3ce9708b9..4f02e509e 100755
--- a/scripts/build/lb_binary_chroot
+++ b/scripts/build/lb_binary_chroot
@@ -97,7 +97,7 @@ fi
${LB_ROOT_COMMAND} mv chroot.tmp chroot/chroot
# Handling chroot excludes
-if [ -f config/binary_rootfs/excludes ]
+if [ -f config/binary_rootfs/excludes ] && [ "${LB_CHROOT_FILESYSTEM}" != "squashfs" ]
then
case "${LB_BUILD_WITH_CHROOT}" in
true)