]> code.ossystems Code Review - openembedded-core.git/commit
qemu-helper-native/systemtap-native: Ensure sysroots are populated with dependencies
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Dec 2019 20:28:03 +0000 (20:28 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 Dec 2019 10:36:31 +0000 (10:36 +0000)
commit309424458c73b14a4a4020cd508c2bf37bf2bcbe
treee94de3dbb3689c48aef12729d220aa99a03a0573
parent6c41308b02b940ab1841c64d73782fd2a5a0f6f6
qemu-helper-native/systemtap-native: Ensure sysroots are populated with dependencies

As Alex Kanavin found, dependencies aren't always populated, particularly
with the hash equivalence server enabled locally:

'bitbake core-image-minimal' with gtk+ disabled.
can confirm with: $ tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-x86_64 -display gtk
qemu-system-x86_64: Display 'gtk' is not available.
Enable gtk in local.conf with: PACKAGECONFIG_append_pn-qemu-system-native = " gtk+"
'bitbake core-image-minimal', without deleting tmp/
$ tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-x86_64 -display gtk
qemu-system-x86_64: Display 'gtk' is not available.

This change ensures the dependencies are correctly handled as the full
sysroot is always depended upon even if things come from sstate.

(From OE-Core rev: d40853b10dd9f01d6a8dd4edcb941cfa8a544922)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/cross.bbclass
meta/classes/native.bbclass