Openembedded Core Discussions
 help / color / mirror / Atom feed
From: ChenQi <Qi.Chen@windriver.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: Chris Larson <clarson@kergoth.com>,
	OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/3] volatile-binds: add recipe
Date: Tue, 29 Jul 2014 10:06:09 +0800	[thread overview]
Message-ID: <53D70191.4080800@windriver.com> (raw)
In-Reply-To: <CAJTo0LaHEZXS435nNO05mn89LwoYYfO1tahC72xHY=4rG-5uDg@mail.gmail.com>

On 07/28/2014 09:00 PM, Burton, Ross wrote:
> On 28 July 2014 06:34, Chen Qi <Qi.Chen@windriver.com> wrote:
>> +# This package is only for systemd based systems. So building it with 'systemd'
>> +# missing in DISTRO_FEATURES makes no sense.
>> +python () {
>> +    if not bb.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d):
>> +        raise bb.parse.SkipPackage("'systemd' not in DISTRO_FEATURES")
>> +}
> There's a class to help with this: distro_features_check.bbclass.
>
> Ross
>
>

Got it. I'll send out a V2.

Thanks!

//Chen Qi


  reply	other threads:[~2014-07-29  2:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-28  5:34 [PATCH 0/3] Support 'read-only-rootfs' IMAGE_FEATURES for systemd based systems Chen Qi
2014-07-28  5:34 ` [PATCH 1/3] volatile-binds: add recipe Chen Qi
2014-07-28 13:00   ` Burton, Ross
2014-07-29  2:06     ` ChenQi [this message]
2014-07-28  5:34 ` [PATCH 2/3] systemd: add volatile-binds to RDEPENDS Chen Qi
2014-07-28 13:21   ` Richard Purdie
2014-07-29  2:05     ` ChenQi
2014-08-20  6:45   ` Koen Kooi
2014-07-28  5:34 ` [PATCH 3/3] image.bbclass: tweak read_only_rootfs_hook to also support systemd based systems Chen Qi

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=53D70191.4080800@windriver.com \
    --to=qi.chen@windriver.com \
    --cc=clarson@kergoth.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /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