[packages/systemd] use systemd-hwdb instead of udevadm for hwdb update

atler atler at pld-linux.org
Sun Dec 24 13:45:23 CET 2023


commit 12bad42f94cd71422344b8c667b28fa44a0bb5ff
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Dec 24 12:50:48 2023 +0100

    use systemd-hwdb instead of udevadm for hwdb update
    
    gets rid of deprecation notice

 systemd.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/systemd.spec b/systemd.spec
index f9a9dae..d47812c 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -1262,7 +1262,7 @@ fi
 /bin/udevadm info --convert-db
 
 %post -n udev-core
-/bin/udevadm hwdb --update || :
+/bin/systemd-hwdb update || :
 if [ $1 -gt 1 ]; then
 	if [ ! -x /bin/systemd_booted ] || ! /bin/systemd_booted; then
 		if grep -qs devtmpfs /proc/mounts && [ -n "$(pidof udevd)" ]; then
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/12bad42f94cd71422344b8c667b28fa44a0bb5ff



More information about the pld-cvs-commit mailing list