2
1
Эх сурвалжийг харах

squashfs: set sensible permissions on squashfs image

Peter Korsgaard 17 жил өмнө
parent
commit
a25b193708

+ 1 - 0
target/squashfs/squashfsroot.mk

@@ -69,6 +69,7 @@ endif
 		>> $(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))
+	chmod 0644 $(SQUASHFS_TARGET)
 	-@rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
 
 squashfsroot-source: squashfs-source