From 47c78e48bd75266e1724ec5d412fb0e04563c231 Mon Sep 17 00:00:00 2001
From: Ralph Hempel <ralph.hempel@lantiq.com>
Date: Mon, 2 Mar 2009 17:42:29 +0000
Subject: [PATCH] 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 )

SVN-Revision: 14729
---
 include/image.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/image.mk b/include/image.mk
index 7de2d6346e..3341f10e50 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -103,9 +103,9 @@ endif
 
 
 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 -perm +0100 | $(XARGS) chmod 0755
-	find $(TARGET_DIR) -type d | $(XARGS) chmod 0755
+	- 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 d | $(XARGS) chmod 0755
 	$(INSTALL_DIR) $(TARGET_DIR)/tmp
 	chmod 0777 $(TARGET_DIR)/tmp
 endef
-- 
GitLab