]> code.ossystems Code Review - openembedded-core.git/commitdiff
systemd: Add PACKAGE_WRITE_DEPS for postinst
authorJussi Kukkonen <jussi.kukkonen@intel.com>
Thu, 19 Jan 2017 08:11:13 +0000 (10:11 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2017 22:51:08 +0000 (22:51 +0000)
Qemu is used to run udevadm in postinstall.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
meta/recipes-core/systemd/systemd_232.bb

index 9b76b6907bfb22145ebdeb287334b6951c24b55c..cc8781e4765271bade3ba5e60e565e7aaac6b173 100644 (file)
@@ -4,7 +4,7 @@ PROVIDES = "udev"
 
 PE = "1"
 
-DEPENDS = "kmod intltool-native gperf-native acl readline libcap libcgroup qemu-native util-linux"
+DEPENDS = "kmod intltool-native gperf-native acl readline libcap libcgroup util-linux"
 
 SECTION = "base/shell"
 
@@ -571,6 +571,7 @@ pkg_prerm_${PN} () {
                -i $D${sysconfdir}/nsswitch.conf
 }
 
+PACKAGE_WRITE_DEPS += "qemu-native"
 pkg_postinst_udev-hwdb () {
        if test -n "$D"; then
                ${@qemu_run_binary(d, '$D', '${base_bindir}/udevadm')} hwdb --update \