systemd: create the clock group for udev
PATCH 1/1 systemd: create the clock group for udev
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(-)
meta/recipes-core/systemd/systemd_262.bb +2 -1
@@ -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"
Signature · 1 line
2.47.3