From: Peter Korsgaard Date: Tue, 31 Aug 2010 19:53:40 +0000 (+0200) Subject: fs/squashfs: fix image file permissions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3975e30b991d42d4cc153b738742f962d8fda757;p=buildroot.git 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 --- diff --git a/fs/squashfs/squashfs.mk b/fs/squashfs/squashfs.mk index 6117de62a1..aae22b6fdd 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))