1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-19 04:49:42 +02:00

don't abort if the operation is failing

( if the board is connected via NFS files might be created by root and can't be changed at this point of time )



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14729 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
ralph 2009-03-02 17:42:29 +00:00
parent 5fac1c8593
commit 9cf711b67b

View File

@ -103,9 +103,9 @@ endif
define Image/mkfs/prepare/default define Image/mkfs/prepare/default
find $(TARGET_DIR) -type f -not -perm +0100 -not -name 'ssh_host*' | $(XARGS) chmod 0644 - find $(TARGET_DIR) -type f -not -perm +0100 -not -name 'ssh_host*' | $(XARGS) chmod 0644
find $(TARGET_DIR) -type f -perm +0100 | $(XARGS) chmod 0755 - find $(TARGET_DIR) -type f -perm +0100 | $(XARGS) chmod 0755
find $(TARGET_DIR) -type d | $(XARGS) chmod 0755 - find $(TARGET_DIR) -type d | $(XARGS) chmod 0755
$(INSTALL_DIR) $(TARGET_DIR)/tmp $(INSTALL_DIR) $(TARGET_DIR)/tmp
chmod 0777 $(TARGET_DIR)/tmp chmod 0777 $(TARGET_DIR)/tmp
endef endef