From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] e2fsprogs: change mode of non-links only
Date: Thu, 13 Jan 2011 19:18:22 -0800 [thread overview]
Message-ID: <4D2FC07E.9020505@gmail.com> (raw)
In-Reply-To: <1294928503-25643-1-git-send-email-enrico.scholz@sigma-chemnitz.de>
On 1/13/2011 6:21 AM, Enrico Scholz wrote:
> 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
alternatively you can exclude patches directory from feeding into chmod
>
> 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 )
> }
>
next prev parent reply other threads:[~2011-01-14 3:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-13 14:21 [PATCH] e2fsprogs: change mode of non-links only Enrico Scholz
2011-01-14 3:18 ` Khem Raj [this message]
2011-01-14 10:09 ` Enrico Scholz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D2FC07E.9020505@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.