From: Norbert Lange Date: Mon, 15 Jun 2020 07:20:43 +0000 (+0200) Subject: package/systemd: create "remote" user if the feature is enabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9aad0ee4cc2d669e4ce0a378621b40b788be1ec;p=buildroot.git package/systemd: create "remote" user if the feature is enabled Signed-off-by: Norbert Lange Reviewed-by: Jérémy Rosen Signed-off-by: Yann E. MORIN --- diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 141209897d..f627ce6cd8 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -214,6 +214,7 @@ endif ifeq ($(BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE),y) SYSTEMD_CONF_OPTS += -Dremote=true +SYSTEMD_REMOTE_USER = systemd-journal-remote -1 systemd-journal-remote -1 * /var/log/journal/remote - - Journal Remote else SYSTEMD_CONF_OPTS += -Dremote=false endif @@ -486,7 +487,7 @@ define SYSTEMD_USERS - - systemd-journal -1 * - - - Journal - - render -1 * - - - DRI rendering nodes - - kvm -1 * - - - kvm nodes - systemd-journal-remote -1 systemd-journal-remote -1 * /var/log/journal/remote - - Journal Remote + $(SYSTEMD_REMOTE_USER) $(SYSTEMD_COREDUMP_USER) $(SYSTEMD_NETWORKD_USER) $(SYSTEMD_RESOLVED_USER)