summaryrefslogtreecommitdiff
path: root/scripts/build/binary_rootfs
diff options
context:
space:
mode:
authorjnqnfe <jnqnfe@gmail.com>2015-01-07 22:17:19 +0000
committerRaphaƫl Hertzog <hertzog@debian.org>2020-03-05 11:17:04 +0000
commit63f374b861b7ddea56b3edd57a0fc77d5fde092a (patch)
tree15275a0e4f28cfbbd53b9e9eb33d35ffca45d374 /scripts/build/binary_rootfs
parenteac4757a897a3c0feb3e8243beb1d67e44f2ec82 (diff)
downloadvyos-live-build-63f374b861b7ddea56b3edd57a0fc77d5fde092a.tar.gz
vyos-live-build-63f374b861b7ddea56b3edd57a0fc77d5fde092a.zip
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
Diffstat (limited to 'scripts/build/binary_rootfs')
-rwxr-xr-xscripts/build/binary_rootfs4
1 files changed, 2 insertions, 2 deletions
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
;;