diff options
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/lb_binary_rootfs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/scripts/build/lb_binary_rootfs b/scripts/build/lb_binary_rootfs index 27af099..b5ca068 100755 --- a/scripts/build/lb_binary_rootfs +++ b/scripts/build/lb_binary_rootfs @@ -307,7 +307,16 @@ case "${LB_CHROOT_FILESYSTEM}" in if [ -f config/binary_rootfs/squashfs.sort ] then MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -sort squashfs.sort" - cp config/binary_rootfs/squashfs.sort chroot #FIXME + + case "${LB_BUILD_WITH_CHROOT}" in + true) + cp config/binary_rootfs/squashfs.sort chroot + ;; + + false) + cp config/binary_rootfs/squashfs.sort . + ;; + esac fi case "${LB_BUILD_WITH_CHROOT}" in |