[poky] [PATCH] poky-tiny.conf: blacklist inappropriate image options
Constantin Musca
constantinx.musca at intel.com
Thu Dec 6 05:13:19 PST 2012
On 12/06/2012 07:30 AM, Saul Wold wrote:
> On 11/19/2012 04:39 AM, Constantin Musca wrote:
>> Blacklist all images that aren't core-image-minimal-*
>>
>> [YOCTO #2565]
>>
>
> During my testing of MUT, I found that poky-tiny would not build with
> this patch.
>
> Please verify.
>
> You can see the failure here:
>
> http://autobuilder.yoctoproject.org:8010/builders/nightly-tiny/builds/357/steps/shell_43/logs/stdio
>
>
> I was able to reproduce it on my desktop machine.
>
> Sau!
>
>> Signed-off-by: Constantin Musca <constantinx.musca at intel.com>
>> ---
>> meta-yocto/conf/distro/poky-tiny.conf | 17 +++++++++++++++++
>> 1 file changed, 17 insertions(+)
>>
>> diff --git a/meta-yocto/conf/distro/poky-tiny.conf
>> b/meta-yocto/conf/distro/poky-tiny.conf
>> index d40748e..121534e 100644
>> --- a/meta-yocto/conf/distro/poky-tiny.conf
>> +++ b/meta-yocto/conf/distro/poky-tiny.conf
>> @@ -120,3 +120,20 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS = ""
>> # will build perl in case this package is installed. Since we don't
>> care about
>> # this script for the purposes of tiny, remove the dependency from
>> here.
>> RDEPENDS_${PN}-mtrace_pn-eglibc = ""
>> +
>> +INHERIT_DISTRO += "blacklist"
>> +PNBLACKLIST[build-appliance-image] = "not buildable with poky-tiny"
>> +PNBLACKLIST[core-image-base] = "not buildable with poky-tiny"
>> +PNBLACKLIST[core-image-basic] = "not buildable with poky-tiny"
>> +PNBLACKLIST[core-image-clutter] = "not buildable with poky-tiny"
>> +PNBLACKLIST[core-image-gtk-directfb] = "not buildable with poky-tiny"
>> +PNBLACKLIST[core-image-lsb] = "not buildable with poky-tiny"
>> +PNBLACKLIST[core-image-lsb-dev] = "not buildable with poky-tiny"
>> +PNBLACKLIST[core-image-lsb-sdk] = "not buildable with poky-tiny"
>> +PNBLACKLIST[core-image-rt] = "not buildable with poky-tiny"
>> +PNBLACKLIST[core-image-rt-sdk] = "not buildable with poky-tiny"
>> +PNBLACKLIST[core-image-sato] = "not buildable with poky-tiny"
>> +PNBLACKLIST[core-image-sato-dev] = "not buildable with poky-tiny"
>> +PNBLACKLIST[core-image-sato-sdk] = "not buildable with poky-tiny"
>> +PNBLACKLIST[core-image-x11] = "not buildable with poky-tiny"
>> +PNBLACKLIST[qt4e-demo-image] = "not buildable with poky-tiny"
>>
I only tested it using hob. It seems that Hob includes it in a different
way. The solution is to use INHERIT_DISTRO_append = " blacklist" in
order to permit INHERIT_DISTRO ?= "debian devshell sstate license" to
work (_append is delayed until the end of parsing). I will send patch v2.
Cheers,
Constantin
More information about the poky
mailing list