summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-04-18 07:39:34 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:44 +0100
commit5790ad171b75b9bbbbc145ab657ac4312ed90983 (patch)
tree0fa3564d597eedb9f5aebc883c4796f56f1e412f
parent8d5944765f88ec29c47becc04615ffa72d8d2c3f (diff)
downloadvyos-live-build-5790ad171b75b9bbbbc145ab657ac4312ed90983.tar.gz
vyos-live-build-5790ad171b75b9bbbbc145ab657ac4312ed90983.zip
Manually ensuring correct permissions of filesystem.squashfs in order to prevent unbootable systems in some nutcases.
-rwxr-xr-xhelpers/lh_binary_rootfs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helpers/lh_binary_rootfs b/helpers/lh_binary_rootfs
index 2bd134994..1b72e7c52 100755
--- a/helpers/lh_binary_rootfs
+++ b/helpers/lh_binary_rootfs
@@ -263,6 +263,7 @@ case "${LH_CHROOT_FILESYSTEM}" in
# Move image
${LH_ROOT_COMMAND} mv chroot/filesystem.squashfs binary/${INITFS}
${LH_ROOT_COMMAND} rm -rf chroot/chroot chroot/squashfs.sort
+ ${LH_ROOT_COMMAND} chmod 0644 binary/${INITFS}/filesystem.squashfs
;;
disabled)