[yocto] [meta-baryon][PATCH 1/3] packagegroup-core-tools: exclude packages that depend on x11

Burton, Ross ross.burton at intel.com
Tue Nov 20 06:56:09 PST 2012


On 20 November 2012 14:39, Paul Eggleton <paul.eggleton at linux.intel.com> wrote:
> On Monday 19 November 2012 12:20:27 Kevin Strasser wrote:
>> Signed-off-by: Kevin Strasser <kevin.strasser at linux.intel.com>
>> ---
>>  .../packagegroup-core-tools-profile.bbappend       |   15 +++++++++++++++
>>  .../packagegroup-core-tools-testapps.bbappend      |   12 ++++++++++++
>>  2 files changed, 27 insertions(+)
>>  create mode 100644
>> recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend create
>> mode 100644
>> recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend
>>
>> diff --git
>> a/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend
>> b/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend new
>> file mode 100644
>> index 0000000..0d13a45
>> --- /dev/null
>> +++ b/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend
>> @@ -0,0 +1,15 @@
>> +# Only include packages that are useful on a headless device
>> +
>> +PROFILETOOLS = " \
>> +    oprofile \
>> +    oprofileui-server \
>> +    powertop \
>> +    lttng-control \
>> +    "
>> +
>> +RRECOMMENDS_${PN} = " \
>> +    perf \
>> +    trace-cmd \
>> +    kernel-module-oprofile \
>> +    blktrace \
>> +    "
>> diff --git
>> a/recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend
>> b/recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend new
>> file mode 100644
>> index 0000000..86c7eb5
>> --- /dev/null
>> +++ b/recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend
>> @@ -0,0 +1,12 @@
>> +# Only include packages that are useful on a headless device
>> +
>> +RDEPENDS_${PN} = " \
>> +    blktool \
>> +    tslib-calibrate \
>> +    tslib-tests \
>> +    lrzsz \
>> +    ${KEXECTOOLS} \
>> +    alsa-utils-amixer \
>> +    alsa-utils-aplay \
>> +    ltp \
>> +    "
>
> This would work, but in this instance I think it would be better if we fixed
> the packagegroup-core-tools-* recipes in OE-Core so that the items that
> require X11 are only included when x11 is in DISTRO_FEATURES, rather than
> making the change here.

Isn't this what Jack Mitchell's commit (poky
627fd60c8c01bbc14ad375f6aa195469eab73d86) did, which make sysprof
optional on X11?

Ross



More information about the yocto mailing list