Browse Source

squashfs: set sensible permissions on squashfs image

Peter Korsgaard 17 năm trước cách đây
mục cha
commit
a25b193708
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      target/squashfs/squashfsroot.mk

+ 1 - 0
target/squashfs/squashfsroot.mk

@@ -69,6 +69,7 @@ endif
 		>> $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
 		>> $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
 	chmod a+x $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
 	chmod a+x $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
 	$(STAGING_DIR)/usr/bin/fakeroot -- $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
 	$(STAGING_DIR)/usr/bin/fakeroot -- $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
+	chmod 0644 $(SQUASHFS_TARGET)
 	-@rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
 	-@rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
 
 
 squashfsroot-source: squashfs-source
 squashfsroot-source: squashfs-source