summaryrefslogtreecommitdiff
path: root/meta/recipes-core/udev
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2017-01-19 10:07:44 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 22:51:08 +0000
commitdf239dd45f04198138a32443db0d3bcf4cf8b7b6 (patch)
tree6a75eeb05ee4a0dd6d4a161ecb0033344b9d3900 /meta/recipes-core/udev
parent5a59e292d1382ea6858f6ccb532e48a9f1f4bea6 (diff)
downloadopenembedded-core-df239dd45f04198138a32443db0d3bcf4cf8b7b6.tar.gz
openembedded-core-df239dd45f04198138a32443db0d3bcf4cf8b7b6.tar.bz2
openembedded-core-df239dd45f04198138a32443db0d3bcf4cf8b7b6.zip
eudev: Add PACKAGE_WRITE_DEPS for postinstall
Qemu is used to run udevadm in postinstall. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Diffstat (limited to 'meta/recipes-core/udev')
-rw-r--r--meta/recipes-core/udev/eudev_3.2.bb1
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 () {
raise bb.parse.SkipPackage("'systemd' in DISTRO_FEATURES")
}
+PACKAGE_WRITE_DEPS += "qemu-native"
pkg_postinst_eudev-hwdb () {
if test -n "$D"; then
${@qemu_run_binary(d, '$D', '${bindir}/udevadm')} hwdb --update --root $D