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-20 11:53:50 +0000 |
commit | 0c37833e6286cf7f1b9178bbad8d707f0716a4bc (patch) | |
tree | d3568f581b7bb5bf8e325fb9ff4f8e9ad316f419 /meta/recipes-core | |
parent | b22c6e0b09cfcd0b8bbd179807be28e8ec857b73 (diff) | |
download | poky-0c37833e6286cf7f1b9178bbad8d707f0716a4bc.tar.gz |
systemd: Add PACKAGE_WRITE_DEPS for postinst
Qemu is used to run udevadm in postinstall.
(From OE-Core rev: f186b0c59e707b9a3bff8fcf3b51dbcef5573298)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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" | |||
4 | 4 | ||
5 | PE = "1" | 5 | PE = "1" |
6 | 6 | ||
7 | DEPENDS = "kmod intltool-native gperf-native acl readline libcap libcgroup qemu-native util-linux" | 7 | DEPENDS = "kmod intltool-native gperf-native acl readline libcap libcgroup util-linux" |
8 | 8 | ||
9 | SECTION = "base/shell" | 9 | SECTION = "base/shell" |
10 | 10 | ||
@@ -571,6 +571,7 @@ pkg_prerm_${PN} () { | |||
571 | -i $D${sysconfdir}/nsswitch.conf | 571 | -i $D${sysconfdir}/nsswitch.conf |
572 | } | 572 | } |
573 | 573 | ||
574 | PACKAGE_WRITE_DEPS += "qemu-native" | ||
574 | pkg_postinst_udev-hwdb () { | 575 | pkg_postinst_udev-hwdb () { |
575 | if test -n "$D"; then | 576 | if test -n "$D"; then |
576 | ${@qemu_run_binary(d, '$D', '${base_bindir}/udevadm')} hwdb --update \ | 577 | ${@qemu_run_binary(d, '$D', '${base_bindir}/udevadm')} hwdb --update \ |