[OE-core] [PATCH 21/33] eudev: Add PACKAGE_WRITE_DEPS for postinstall

Richard Purdie richard.purdie at linuxfoundation.org
Thu Jan 19 22:53:03 UTC 2017


From: Jussi Kukkonen <jussi.kukkonen at intel.com>

Qemu is used to run udevadm in postinstall.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
---
 meta/recipes-core/udev/eudev_3.2.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/udev/eudev_3.2.bb b/meta/recipes-core/udev/eudev_3.2.bb
index 211252c..385ee7a 100644
--- a/meta/recipes-core/udev/eudev_3.2.bb
+++ b/meta/recipes-core/udev/eudev_3.2.bb
@@ -87,6 +87,7 @@ python () {
         raise bb.parse.SkipPackage("'systemd' in DISTRO_FEATURES")
 }
 
+PACKAGE_WRITE_DEPS += "qemu-native"
 pkg_postinst_eudev-hwdb () {
     if test -n "$D"; then
         ${@qemu_run_binary(d, '$D', '${bindir}/udevadm')} hwdb --update --root $D
-- 
2.7.4




More information about the Openembedded-core mailing list