squashfs: set sensible permissions on squashfs image
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 25 Apr 2008 12:04:04 +0000 (12:04 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 25 Apr 2008 12:04:04 +0000 (12:04 -0000)
target/squashfs/squashfsroot.mk

index 0ec9280cdc0ebf8ddc4d2399f9a8da3c57bff85f..b28d0cf4ce647c46438d4551453a5ec0e8ea94ab 100644 (file)
@@ -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