From: Jussi Kukkonen Date: Thu, 19 Jan 2017 08:11:13 +0000 (+0200) Subject: systemd: Add PACKAGE_WRITE_DEPS for postinst X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~22958 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f186b0c59e707b9a3bff8fcf3b51dbcef5573298;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git systemd: Add PACKAGE_WRITE_DEPS for postinst Qemu is used to run udevadm in postinstall. Signed-off-by: Jussi Kukkonen --- diff --git a/meta/recipes-core/systemd/systemd_232.bb b/meta/recipes-core/systemd/systemd_232.bb index 9b76b6907bf..cc8781e4765 100644 --- a/meta/recipes-core/systemd/systemd_232.bb +++ b/meta/recipes-core/systemd/systemd_232.bb @@ -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 \