[OE-core] [PATCH 08/11] systemd: drop unneeded $D check in prerm

Christopher Larson kergoth at gmail.com
Mon Nov 16 15:54:22 UTC 2015


On Mon, Nov 16, 2015 at 8:18 AM, Burton, Ross <ross.burton at intel.com> wrote:

> On 12 November 2015 at 23:39, Christopher Larson <kergoth at gmail.com>
> wrote:
>
>> diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass
>> index 315c17f..1f5bbcc 100644
>> --- a/meta/classes/qemu.bbclass
>> +++ b/meta/classes/qemu.bbclass
>> @@ -50,3 +50,8 @@ QEMU_EXTRAOPTIONS_ppc64e5500 = " -cpu e5500"
>>  QEMU_EXTRAOPTIONS_ppce6500 = " -cpu e6500"
>>  QEMU_EXTRAOPTIONS_ppc64e6500 = " -cpu e6500"
>>  QEMU_EXTRAOPTIONS_ppc7400   = " -cpu 7400"
>> +
>> +python () {
>> +    if "QEMU_EXTRAOPTIONS" in d and
>> d.expand("QEMU_EXTRAOPTIONS_${PACKAGE_ARCH}") not in d and
>> d.getVar("PACKAGE_ARCH", True) != "all":
>> +        bb.fatal("Incorrect use of overrides rather than PACKAGE_ARCH
>> for QEMU_EXTRAOPTIONS")
>> +}
>>
>
> I think you meant to split this out.
>

Er, yes, no idea how I missed that when reviewing the diffs. That was meant
to stay local. Sorry about that.
-- 
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151116/3b1f5a63/attachment-0002.html>


More information about the Openembedded-core mailing list