1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

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>
This commit is contained in:
Jussi Kukkonen
2017-01-19 10:07:44 +02:00
committed by Richard Purdie
parent e2ea1cdce9
commit b22c6e0b09
+1
View File
@@ -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