public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] systemd: Replace deprecate udevadm command
@ 2024-07-17 19:06 Khem Raj
  0 siblings, 0 replies; only message in thread
From: Khem Raj @ 2024-07-17 19:06 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

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.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/systemd/systemd_256.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd_256.bb b/meta/recipes-core/systemd/systemd_256.bb
index 2e1f82dc8d1..a197b165832 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 () {
 	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
 }
 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-07-17 19:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-17 19:06 [PATCH] systemd: Replace deprecate udevadm command Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox