From 63f374b861b7ddea56b3edd57a0fc77d5fde092a Mon Sep 17 00:00:00 2001 From: jnqnfe Date: Wed, 7 Jan 2015 22:17:19 +0000 Subject: binary_rootfs: fix chmod of squashfs image only being applied when using chroot Perhaps it is unnecessary in the other case, but not harm applying in both to be certain. Gbp-Dch: Short Closes: #952850 --- scripts/build/binary_rootfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/build/binary_rootfs b/scripts/build/binary_rootfs index bfa605f38..2f49df1e7 100755 --- a/scripts/build/binary_rootfs +++ b/scripts/build/binary_rootfs @@ -403,8 +403,6 @@ case "${LB_CHROOT_FILESYSTEM}" in # Removing depends Remove_package fi - - chmod 0644 binary/${INITFS}/filesystem.squashfs ;; false) @@ -419,6 +417,8 @@ case "${LB_CHROOT_FILESYSTEM}" in ;; esac + chmod 0644 binary/${INITFS}/filesystem.squashfs + # Saving cache Save_cache cache/packages.binary ;; -- cgit v1.2.3