From 3975e30b991d42d4cc153b738742f962d8fda757 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 31 Aug 2010 21:53:40 +0200 Subject: fs/squashfs: fix image file permissions Set image file permissions to 0644 like it was before the fs rework, instead of the rather unhelpful 0700 (E.G. when image is used for tftp). Signed-off-by: Peter Korsgaard --- fs/squashfs/squashfs.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fs') diff --git a/fs/squashfs/squashfs.mk b/fs/squashfs/squashfs.mk index 6117de62a..aae22b6fd 100644 --- a/fs/squashfs/squashfs.mk +++ b/fs/squashfs/squashfs.mk @@ -19,7 +19,8 @@ endif define ROOTFS_SQUASHFS_CMD $(HOST_DIR)/usr/bin/mksquashfs $(TARGET_DIR) $$@ -noappend \ - $(ROOTFS_SQUASHFS_ARGS) + $(ROOTFS_SQUASHFS_ARGS) && \ + chmod 0644 $$@ endef $(eval $(call ROOTFS_TARGET,squashfs)) -- cgit v1.2.3