From: Luca Boccassi <[email protected]>

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 <[email protected]>
---
 meta/recipes-core/systemd/systemd_262.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd_262.bb 
b/meta/recipes-core/systemd/systemd_262.bb
index d70053182f..71a90a0903 100644
--- a/meta/recipes-core/systemd/systemd_262.bb
+++ b/meta/recipes-core/systemd/systemd_262.bb
@@ -449,7 +449,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"
-- 
2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#248551): 
https://lists.openembedded.org/g/openembedded-core/message/248551
Mute This Topic: https://lists.openembedded.org/mt/121899160/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to