[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: [OE-core] [krogoth] systemd: Create missing sysusers offline
From: Enrico Joerns <ejo () pengutronix ! de>
Date: 2016-06-29 9:29:32
Message-ID: 47b17632-bc9a-64a2-b9a2-0fb75e9bdcde () pengutronix ! de
[Download RAW message or body]
Hi,
this patch is required, for example, to successfully build systemd with
networkd enabled in krogoth release, too. Thus it should be backported.
It is in oe-core master, id d18957925c6c073b7194e3a233efea24e436f74e.
Best regards, Enrico
On 04/24/2016 06:52 PM, Khem Raj wrote:
> Some system users which are needed by systemd components were missing
> create these users knobbed with relevant packageconfig
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> Changes from v1->v2:
> -Create systemd-journal-remote
> -Create systemd-journal-upload
>
> meta/recipes-core/systemd/systemd_229.bb | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/systemd/systemd_229.bb \
> b/meta/recipes-core/systemd/systemd_229.bb index c23c749..cf34921 100644
> --- a/meta/recipes-core/systemd/systemd_229.bb
> +++ b/meta/recipes-core/systemd/systemd_229.bb
> @@ -319,10 +319,16 @@ PACKAGES =+ "\
> SYSTEMD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt', '${PN}-binfmt', \
> '', d)}" SYSTEMD_SERVICE_${PN}-binfmt = "systemd-binfmt.service"
>
> -USERADD_PACKAGES = "${PN}"
> +USERADD_PACKAGES = "${PN} ${PN}-extra-utils"
> USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', \
> '--system -d / -M --shell /bin/nologin systemd-journal-gateway;', '', d)}" \
> +USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', \
> '--system -d / -M --shell /bin/nologin systemd-journal-remote;', '', d)}" \
> +USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'journal-upload', \
> '--system -d / -M --shell /bin/nologin systemd-journal-upload;', '', d)}" \
> USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'timesyncd', \
> '--system -d / -M --shell /bin/nologin systemd-timesync;', '', d)}" \
> +USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'networkd', \
> '--system -d / -M --shell /bin/nologin systemd-network;', '', d)}" \
> +USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'coredump', \
> '--system -d / -M --shell /bin/nologin systemd-coredump;', '', d)}" \
> +USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'resolved', \
> '--system -d / -M --shell /bin/nologin systemd-resolve;', '', d)}" \
> GROUPADD_PARAM_${PN} = "-r lock; -r systemd-journal" \
> +USERADD_PARAM_${PN}-extra-utils += "--system -d / -M --shell /bin/nologin \
> systemd-bus-proxy"
> FILES_${PN}-analyze = "${bindir}/systemd-analyze"
>
>
--
Pengutronix e.K. | Enrico Jörns |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5080 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic