From: Alexander Kanavin Date: Wed, 23 Jan 2019 16:17:37 +0000 (+0100) Subject: qemuwrapper-cross: check qemu usermode only when building a target package X-Git-Tag: uninative-2.4~533 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=3ae634853a034a322593d318502ea2ee799556f7;p=openembedded-core.git qemuwrapper-cross: check qemu usermode only when building a target package When building nativesdk- package, MACHINE_FEATURES do not apply as they are specified only for target machines, not ones hosting the sdk. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb index 06f15617df..a0448a1803 100644 --- a/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb +++ b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb @@ -20,7 +20,7 @@ do_install () { #!/bin/sh set -x -if [ ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d)} = False ]; then +if [ ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d)} = False -a "${PN}" != "nativesdk-qemuwrapper-cross" ]; then echo "qemuwrapper: qemu usermode is not supported" exit 1 fi