mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
systemd: Replace deprecate udevadm command
In postinstall we run this script on target these days systemd-hwdb is recommended Fixes ... Configuring udev-hwdb. udevadm hwdb is deprecated. Use systemd-hwdb instead. (From OE-Core rev: 16f3eba7f5097976a53e3ffabd3723d889df56e6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -904,7 +904,7 @@ pkg_postinst:udev-hwdb () {
|
||||
if test -n "$D"; then
|
||||
$INTERCEPT_DIR/postinst_intercept update_udev_hwdb ${PKG} mlprefix=${MLPREFIX} binprefix=${MLPREFIX} rootlibexecdir="${rootlibexecdir}" PREFERRED_PROVIDER_udev="${PREFERRED_PROVIDER_udev}" base_bindir="${base_bindir}"
|
||||
else
|
||||
udevadm hwdb --update
|
||||
systemd-hwdb update
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user