mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +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:
committed by
Richard Purdie
parent
e2ea1cdce9
commit
b22c6e0b09
@@ -87,6 +87,7 @@ python () {
|
|||||||
raise bb.parse.SkipPackage("'systemd' in DISTRO_FEATURES")
|
raise bb.parse.SkipPackage("'systemd' in DISTRO_FEATURES")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PACKAGE_WRITE_DEPS += "qemu-native"
|
||||||
pkg_postinst_eudev-hwdb () {
|
pkg_postinst_eudev-hwdb () {
|
||||||
if test -n "$D"; then
|
if test -n "$D"; then
|
||||||
${@qemu_run_binary(d, '$D', '${bindir}/udevadm')} hwdb --update --root $D
|
${@qemu_run_binary(d, '$D', '${bindir}/udevadm')} hwdb --update --root $D
|
||||||
|
|||||||
Reference in New Issue
Block a user