From: Patrick Ohly <patrick.ohly@intel.com>
To: "Huang, Jie (Jackie)" <Jackie.Huang@windriver.com>,
Mark Hatle <mark.hatle@windriver.com>
Cc: "openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH v2] mtd-utils: disable xattr if DISTRO_FEATURES doesn't contain acl
Date: Wed, 26 Aug 2015 18:03:55 +0200 [thread overview]
Message-ID: <1440605035.20082.20.camel@intel.com> (raw)
In-Reply-To: <1B858668EC6A94408DCA5225FDFA85AAFC716948@ALA-MBB.corp.ad.wrs.com>
On Wed, 2015-08-26 at 09:50 +0000, Huang, Jie (Jackie) wrote:
>
> > -----Original Message-----
> > From: openembedded-core-bounces@lists.openembedded.org [mailto:openembedded-core-
> > bounces@lists.openembedded.org] On Behalf Of Andrea Adami
> > Sent: Sunday, August 23, 2015 5:59 AM
> > To: openembedded-core@lists.openembedded.org
> > Subject: [OE-core] [PATCH v2] mtd-utils: disable xattr if DISTRO_FEATURES doesn't contain acl
> >
> > After commit 24fde4d do_compile fails:
> >
> > | mkfs.jffs2.c:70:21: fatal error: sys/acl.h: No such file or directory
> > | #include <sys/acl.h>
> >
> > This is a missing dependency on acl.
> > To fix this we add a check to disable xattr when acl is not in DISTRO_FEATURES.
>
> I think you should check the xattr distro feature, but only checking the DISTRO_FEATURES
> can't ensure the dependency satisfied, why not use the PACKAGECONFIG, something like:
>
> PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)}"
> PACKAGECONFIG[xattr] = ", -DWITHOUT_XATTR,attr acl,"
I agree that we should check the xattr distro feature. The actual patch
is a bit more complex, though, because PACKAGECONFIG cannot influence
EXTRA_OEMAKE, can it?
I'll reply with a patch that worked for me.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.
next prev parent reply other threads:[~2015-08-26 16:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-22 21:59 [PATCH v2] mtd-utils: disable xattr if DISTRO_FEATURES doesn't contain acl Andrea Adami
2015-08-25 15:29 ` Patrick Ohly
2015-08-26 9:50 ` Huang, Jie (Jackie)
2015-08-26 16:03 ` Patrick Ohly [this message]
2015-08-26 16:10 ` [PATCH 1/1] mtd-utils: add xattr PACKAGECONFIG and fix acl dependency Patrick Ohly
2015-08-26 16:42 ` Mark Hatle
2015-08-26 19:02 ` Andre McCurdy
2015-08-27 6:45 ` Patrick Ohly
2015-08-26 19:16 ` Khem Raj
2015-08-27 6:43 ` Patrick Ohly
2015-08-27 13:32 ` Khem Raj
2015-08-27 14:07 ` Patrick Ohly
2015-08-27 3:33 ` [PATCH v2] mtd-utils: disable xattr if DISTRO_FEATURES doesn't contain acl Huang, Jie (Jackie)
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=1440605035.20082.20.camel@intel.com \
--to=patrick.ohly@intel.com \
--cc=Jackie.Huang@windriver.com \
--cc=mark.hatle@windriver.com \
--cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox