diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2017-01-19 10:07:44 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-20 11:53:50 +0000 |
commit | b22c6e0b09cfcd0b8bbd179807be28e8ec857b73 (patch) | |
tree | a9c23a5e6a05739052c78236d8564ece792aa918 /meta/recipes-core/udev | |
parent | e2ea1cdce9708deb8d6a30d02b113734f5afc20d (diff) | |
download | poky-b22c6e0b09cfcd0b8bbd179807be28e8ec857b73.tar.gz |
eudev: Add PACKAGE_WRITE_DEPS for postinstall
Qemu is used to run udevadm in postinstall.
(From OE-Core rev: df239dd45f04198138a32443db0d3bcf4cf8b7b6)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/udev')
-rw-r--r-- | meta/recipes-core/udev/eudev_3.2.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/udev/eudev_3.2.bb b/meta/recipes-core/udev/eudev_3.2.bb index 211252cebc..385ee7acc2 100644 --- a/meta/recipes-core/udev/eudev_3.2.bb +++ b/meta/recipes-core/udev/eudev_3.2.bb | |||
@@ -87,6 +87,7 @@ python () { | |||
87 | raise bb.parse.SkipPackage("'systemd' in DISTRO_FEATURES") | 87 | raise bb.parse.SkipPackage("'systemd' in DISTRO_FEATURES") |
88 | } | 88 | } |
89 | 89 | ||
90 | PACKAGE_WRITE_DEPS += "qemu-native" | ||
90 | pkg_postinst_eudev-hwdb () { | 91 | pkg_postinst_eudev-hwdb () { |
91 | if test -n "$D"; then | 92 | if test -n "$D"; then |
92 | ${@qemu_run_binary(d, '$D', '${bindir}/udevadm')} hwdb --update --root $D | 93 | ${@qemu_run_binary(d, '$D', '${bindir}/udevadm')} hwdb --update --root $D |