All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] e2fsprogs: change mode of non-links only
@ 2011-01-13 14:21 Enrico Scholz
  2011-01-14  3:18 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Enrico Scholz @ 2011-01-13 14:21 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Enrico Scholz, Enrico Scholz

From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>

When building as a dedicated user, compilation fails else in a way like

| + cd ..../e2fsprogs-1.41.12-r27/e2fsprogs-1.41.12
| + do_compile
| + find ./ -print
| + xargs chmod u=rwX
| chmod: changing permissions of `./patches/llseek-uclibc.patch': Operation not permitted
| ERROR: Function do_compile failed

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
---
 recipes/e2fsprogs/e2fsprogs.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/e2fsprogs/e2fsprogs.inc b/recipes/e2fsprogs/e2fsprogs.inc
index 34b9950..bdb4bbb 100644
--- a/recipes/e2fsprogs/e2fsprogs.inc
+++ b/recipes/e2fsprogs/e2fsprogs.inc
@@ -23,7 +23,7 @@ EXTRA_OECONF = "${@['','--disable-tls'][bb.data.getVar('ARM_ABI', d, 1) == 'oabi
 PARALLEL_MAKE = ""
 
 do_compile_prepend () {
-	find ./ -print|xargs chmod u=rwX
+	find ./ ! -type l -print|xargs chmod u=rwX
 	( cd util; ${BUILD_CC} subst.c -o subst )
 }
 
-- 
1.7.3.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-14 10:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-13 14:21 [PATCH] e2fsprogs: change mode of non-links only Enrico Scholz
2011-01-14  3:18 ` Khem Raj
2011-01-14 10:09   ` Enrico Scholz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.