From 5790ad171b75b9bbbbc145ab657ac4312ed90983 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Sat, 18 Apr 2009 07:39:34 +0200
Subject: Manually ensuring correct permissions of filesystem.squashfs in order
 to prevent unbootable systems in some nutcases.

---
 helpers/lh_binary_rootfs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/helpers/lh_binary_rootfs b/helpers/lh_binary_rootfs
index 2bd1349..1b72e7c 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)
-- 
cgit v1.0