summaryrefslogtreecommitdiff
path: root/scripts/build/lb_binary_chroot
diff options
context:
space:
mode:
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)