diff mbox series

[blacksail,52/60] systemd: create the clock group for udev

Message ID db1895237c899b67a454d97f2797703b06a14a29.1793867929.git.yoann.congal@smile.fr
State RFC, archived
Delegated to: Yoann Congal
Headers show
Series [blacksail,01/60] gstreamer1.0-plugins-bad: use gtk+3 dependency name | expand

Commit Message

Yoann Congal Nov. 5, 2026, 8:43 a.m. UTC
From: Luca Boccassi <luca.boccassi@gmail.com>

Since systemd v258 the default udev rules assign RTC and PTP devices
to the "clock" group. Create it alongside "render" to avoid errors like:
"Failed to resolve group 'clock', ignoring: Unknown group".

Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8615063bc14a8a3088d9d30fc4ac9b05928a7565)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
 meta/recipes-core/systemd/systemd_261.3.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-core/systemd/systemd_261.3.bb b/meta/recipes-core/systemd/systemd_261.3.bb
index f7e588a1968..b555cb8701b 100644
--- a/meta/recipes-core/systemd/systemd_261.3.bb
+++ b/meta/recipes-core/systemd/systemd_261.3.bb
@@ -440,7 +440,8 @@  USERADD_PACKAGES = "${PN} \
 "
 GROUPADD_PARAM:${PN} = "-r systemd-journal;"
 GROUPADD_PARAM:${PN} += "-r empower;"
-GROUPADD_PARAM:udev = "-r render"
+GROUPADD_PARAM:udev = "-r render;"
+GROUPADD_PARAM:udev += "-r clock;"
 GROUPADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'polkit_hostnamed_fallback', '-r systemd-hostname;', '', d)}"
 USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'coredump', '--system -d / -M --shell /sbin/nologin systemd-coredump;', '', d)}"
 USERADD_PARAM:${PN}-networkd = "--system -d / -M --shell /sbin/nologin systemd-network"