[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [honister][PATCH 01/11] systemd: Fix systemd-journal-gateway user/groups
From:       "Anuj Mittal" <anuj.mittal () intel ! com>
Date:       2021-12-31 0:19:14
Message-ID: 10db2106122b02c7d1cfca065c3bd9c8ff7d19f8.1640909776.git.anuj.mittal () intel ! com
[Download RAW message or body]

Content-Transfer-Encoding: 8bit

From: Florian Amstutz <florian.amstutz@scs.ch>

The systemd-journal-gateway user and group are never added to an image
since the package name added to USERADD_PACKES is wrong.

Signed-off-by: Florian Amstutz <florian.amstutz@scs.ch>

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 495dc879b1eff4f70da6f783341b9a3085180a22)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 meta/recipes-core/systemd/systemd_249.7.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/systemd/systemd_249.7.bb \
b/meta/recipes-core/systemd/systemd_249.7.bb index f8c85dabf0..c94a18140e 100644
--- a/meta/recipes-core/systemd/systemd_249.7.bb
+++ b/meta/recipes-core/systemd/systemd_249.7.bb
@@ -385,7 +385,7 @@ SYSTEMD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', \
'binfmt', '${PN}-binfm  SYSTEMD_SERVICE:${PN}-binfmt = "systemd-binfmt.service"
 
 USERADD_PACKAGES = "${PN} ${PN}-extra-utils \
-                    ${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', \
'${PN}-journal-gateway', '', d)} \ +                    \
${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', '${PN}-journal-gatewayd', '', d)} \
                \
                     ${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', \
                '${PN}-journal-remote', '', d)} \
                     ${@bb.utils.contains('PACKAGECONFIG', 'journal-upload', \
'${PN}-journal-upload', '', d)} \  "
@@ -397,7 +397,7 @@ USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', \
'polkit', '--syste  USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', \
'resolved', '--system -d / -M --shell /sbin/nologin systemd-resolve;', '', d)}"  \
USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'timesyncd', '--system \
-d / -M --shell /sbin/nologin systemd-timesync;', '', d)}"  \
USERADD_PARAM:${PN}-extra-utils = "--system -d / -M --shell /sbin/nologin \
                systemd-bus-proxy"
-USERADD_PARAM:${PN}-journal-gateway = "--system -d / -M --shell /sbin/nologin \
systemd-journal-gateway" +USERADD_PARAM:${PN}-journal-gatewayd = "--system -d / -M \
--shell /sbin/nologin systemd-journal-gateway"  USERADD_PARAM:${PN}-journal-remote = \
"--system -d / -M --shell /sbin/nologin systemd-journal-remote"  \
USERADD_PARAM:${PN}-journal-upload = "--system -d / -M --shell /sbin/nologin \
systemd-journal-upload"  
-- 
2.33.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160069): https://lists.openembedded.org/g/openembedded-core/message/160069
Mute This Topic: https://lists.openembedded.org/mt/88045501/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic