diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-07-17 12:06:44 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-18 17:21:39 +0100 |
| commit | e66e9d255db599a62187bfc0d88709df2bf01037 (patch) | |
| tree | 85b7c3e2a6324f789e82e8063b07bfe16cc5bfa3 | |
| parent | 89e184da6c9d95a99fd34334df5ac6c5ae87f13a (diff) | |
| download | poky-e66e9d255db599a62187bfc0d88709df2bf01037.tar.gz | |
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>
| -rw-r--r-- | meta/recipes-core/systemd/systemd_256.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_256.bb b/meta/recipes-core/systemd/systemd_256.bb index 2e1f82dc8d..a197b16583 100644 --- a/meta/recipes-core/systemd/systemd_256.bb +++ b/meta/recipes-core/systemd/systemd_256.bb | |||
| @@ -904,7 +904,7 @@ pkg_postinst:udev-hwdb () { | |||
| 904 | if test -n "$D"; then | 904 | if test -n "$D"; then |
| 905 | $INTERCEPT_DIR/postinst_intercept update_udev_hwdb ${PKG} mlprefix=${MLPREFIX} binprefix=${MLPREFIX} rootlibexecdir="${rootlibexecdir}" PREFERRED_PROVIDER_udev="${PREFERRED_PROVIDER_udev}" base_bindir="${base_bindir}" | 905 | $INTERCEPT_DIR/postinst_intercept update_udev_hwdb ${PKG} mlprefix=${MLPREFIX} binprefix=${MLPREFIX} rootlibexecdir="${rootlibexecdir}" PREFERRED_PROVIDER_udev="${PREFERRED_PROVIDER_udev}" base_bindir="${base_bindir}" |
| 906 | else | 906 | else |
| 907 | udevadm hwdb --update | 907 | systemd-hwdb update |
| 908 | fi | 908 | fi |
| 909 | } | 909 | } |
| 910 | 910 | ||
