From: Philip Tricca <flihp@twobit.us>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: [meta-selinux] Add sysvinit to DISTRO_FEATURES in oe-selinux distro.
Date: Mon, 23 Sep 2013 13:40:27 -0400 [thread overview]
Message-ID: <52407D0B.5020802@twobit.us> (raw)
In-Reply-To: <52405205.4070701@twobit.us>
On 09/23/2013 10:36 AM, Philip Tricca wrote:
> On 09/23/2013 04:51 AM, Burton, Ross wrote:
>> On 23 September 2013 05:24, Philip Tricca <flihp@twobit.us> wrote:
>>> -DISTRO_FEATURES_append = "pam selinux"
>>> +DISTRO_FEATURES_append = "pam selinux sysvinit"
>>
>> sysvinit is a backfilled distro feature so you shouldn't need this. I
>> can see two cases where you may need it: either you're setting
>> DISTRO_FEATURES_BACKFILL_CONSIDERED to sysvinit (in which case don't),
>
> I'm not even sure what DISTRO_FEATURES_BACKFILL_CONSIDERED is so we can
> rule that out. Finding it in the docs now ...
>
>> or you're cherry-picking pieces from different releases (in which case
>> this probably isn't the fix you're after).
>
> I'm not doing anything so sophisticated (misguided?). I ran into this
> while setting up a build to test unrelated patches. Regardless this is
> the type of feedback I need so thank you. I'll go back and pull fresh
> from upstream and re-test.
I've located the source of this issue. Turns out DISTRO_FEATURES_BACKFILL
and DISTRO_FEATURES are concatenated somewhere along the way. The lack of
leading whitespace in the DISTRO_FEATURES_append from the oe-selinux distro
was causing 'sysvinit' and 'pam' to be combined into 'sysvinitpam'. The
check in the packagegroup class that I was running into must be evaluated
before any sanity check for invalid entries DISTRO_FEATURES.
Adding a leading space to the DISTRO_FEATURES_append in the oe-selinux
distro resolves this issue. Thanks for the pointer to the backfill
mechanism Ross. I'll submit a new patch.
Cheers,
- Philip
prev parent reply other threads:[~2013-09-23 17:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-23 4:24 [meta-selinux] Add sysvinit to DISTRO_FEATURES in oe-selinux distro Philip Tricca
2013-09-23 8:51 ` Burton, Ross
2013-09-23 14:36 ` Philip Tricca
2013-09-23 17:40 ` Philip Tricca [this message]
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=52407D0B.5020802@twobit.us \
--to=flihp@twobit.us \
--cc=ross.burton@intel.com \
--cc=yocto@yoctoproject.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.