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

Burton, Ross ross.burton at intel.com
Mon Nov 16 15:18:50 UTC 2015


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.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151116/c61d781c/attachment-0002.html>


More information about the Openembedded-core mailing list