From d7353ff96fb96f76177d4cde7f76a0d01597e0fa Mon Sep 17 00:00:00 2001 From: intrigeri Date: Thu, 30 Sep 2010 17:30:23 +0200 Subject: Fixing squashfs.sort location with --build-with-chroot false. --- scripts/build/lb_binary_rootfs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/scripts/build/lb_binary_rootfs b/scripts/build/lb_binary_rootfs index 483fdfb86..173c5cc3f 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 -- cgit v1.2.3