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
This commit is contained in:
jnqnfe 2015-01-07 22:17:19 +00:00 committed by Raphaël Hertzog
parent eac4757a89
commit 63f374b861
1 changed files with 2 additions and 2 deletions

View File

@ -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
;;