mirror of
https://git.yoctoproject.org/poky
synced 2026-04-15 21:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
b22c6e0b09
commit
0c37833e62
@@ -4,7 +4,7 @@ PROVIDES = "udev"
|
||||
|
||||
PE = "1"
|
||||
|
||||
DEPENDS = "kmod intltool-native gperf-native acl readline libcap libcgroup qemu-native util-linux"
|
||||
DEPENDS = "kmod intltool-native gperf-native acl readline libcap libcgroup util-linux"
|
||||
|
||||
SECTION = "base/shell"
|
||||
|
||||
@@ -571,6 +571,7 @@ pkg_prerm_${PN} () {
|
||||
-i $D${sysconfdir}/nsswitch.conf
|
||||
}
|
||||
|
||||
PACKAGE_WRITE_DEPS += "qemu-native"
|
||||
pkg_postinst_udev-hwdb () {
|
||||
if test -n "$D"; then
|
||||
${@qemu_run_binary(d, '$D', '${base_bindir}/udevadm')} hwdb --update \
|
||||
|
||||
Reference in New Issue
Block a user