From ffdc020519cc16af3b935da88707973688ddfd0b Mon Sep 17 00:00:00 2001 From: Bastian Krause Date: Wed, 26 Feb 2025 10:45:03 +0100 Subject: [PATCH] systemd: move sysusers.d systemd-remote to PN-journal-remote systemd's sysusers.d/systemd-remote.conf contains the user "systemd-journal-remote" [1]. This file is currently not part of any specific package. To make this match the corresponding USERADD_PARAM:${PN}-journal-remote for the same user, move the file to the correct package. This prevents warnings in case PACKAGECONFIG contains "microhttpd" but systemd-journal-remote is not installed, such as: WARNING: some-image-1.0-r0 do_rootfs: User systemd-journal-remote has never been defined [1] https://github.com/systemd/systemd/blob/v257.3/sysusers.d/systemd-remote.conf (From OE-Core rev: 2d50d3595502e65e3b0997800a6dc60ca3e10100) Signed-off-by: Bastian Krause Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd_257.3.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/systemd/systemd_257.3.bb b/meta/recipes-core/systemd/systemd_257.3.bb index 03b9c9362a..324e91e051 100644 --- a/meta/recipes-core/systemd/systemd_257.3.bb +++ b/meta/recipes-core/systemd/systemd_257.3.bb @@ -531,6 +531,7 @@ FILES:${PN}-journal-upload = "${nonarch_libdir}/systemd/systemd-journal-upload \ SYSTEMD_SERVICE:${PN}-journal-upload = "systemd-journal-upload.service" FILES:${PN}-journal-remote = "${nonarch_libdir}/systemd/systemd-journal-remote \ + ${nonarch_libdir}/sysusers.d/systemd-remote.conf \ ${sysconfdir}/systemd/journal-remote.conf \ ${systemd_system_unitdir}/systemd-journal-remote.service \ ${systemd_system_unitdir}/systemd-journal-remote.socket \