diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2017-01-19 10:11:13 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-19 22:51:08 +0000 |
commit | f186b0c59e707b9a3bff8fcf3b51dbcef5573298 (patch) | |
tree | dd26c272ac199ef5b66b870c230af69074653f00 /meta/recipes-core | |
parent | df239dd45f04198138a32443db0d3bcf4cf8b7b6 (diff) | |
download | openembedded-core-f186b0c59e707b9a3bff8fcf3b51dbcef5573298.tar.gz openembedded-core-f186b0c59e707b9a3bff8fcf3b51dbcef5573298.tar.bz2 openembedded-core-f186b0c59e707b9a3bff8fcf3b51dbcef5573298.zip |
systemd: Add PACKAGE_WRITE_DEPS for postinst
Qemu is used to run udevadm in postinstall.
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/systemd/systemd_232.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_232.bb b/meta/recipes-core/systemd/systemd_232.bb index 9b76b6907b..cc8781e476 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 \ |