diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-05-17 21:40:21 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-19 22:32:06 +0100 |
commit | fd36a447d0da53e713d992b17ce86dd31ea63c67 (patch) | |
tree | 0ad60a0c1bc0ea69a13555a04a0229001c067922 /meta | |
parent | 553fa35147adb996d515c3d27f62555d9c969cd8 (diff) | |
download | poky-fd36a447d0da53e713d992b17ce86dd31ea63c67.tar.gz |
systemd: Create missing sysusers offline
Some system users which are needed by systemd components were missing
create these users knobbed with relevant packageconfig
(From OE-Core rev: d18957925c6c073b7194e3a233efea24e436f74e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/systemd/systemd_229.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_229.bb b/meta/recipes-core/systemd/systemd_229.bb index c23c749e2a..a2d35f8241 100644 --- a/meta/recipes-core/systemd/systemd_229.bb +++ b/meta/recipes-core/systemd/systemd_229.bb | |||
@@ -319,10 +319,16 @@ PACKAGES =+ "\ | |||
319 | SYSTEMD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt', '${PN}-binfmt', '', d)}" | 319 | SYSTEMD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt', '${PN}-binfmt', '', d)}" |
320 | SYSTEMD_SERVICE_${PN}-binfmt = "systemd-binfmt.service" | 320 | SYSTEMD_SERVICE_${PN}-binfmt = "systemd-binfmt.service" |
321 | 321 | ||
322 | USERADD_PACKAGES = "${PN}" | 322 | USERADD_PACKAGES = "${PN} ${PN}-extra-utils" |
323 | USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', '--system -d / -M --shell /bin/nologin systemd-journal-gateway;', '', d)}" | 323 | USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', '--system -d / -M --shell /bin/nologin systemd-journal-gateway;', '', d)}" |
324 | USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', '--system -d / -M --shell /bin/nologin systemd-journal-remote;', '', d)}" | ||
325 | USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'journal-upload', '--system -d / -M --shell /bin/nologin systemd-journal-upload;', '', d)}" | ||
324 | USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'timesyncd', '--system -d / -M --shell /bin/nologin systemd-timesync;', '', d)}" | 326 | USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'timesyncd', '--system -d / -M --shell /bin/nologin systemd-timesync;', '', d)}" |
327 | USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'networkd', '--system -d / -M --shell /bin/nologin systemd-network;', '', d)}" | ||
328 | USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'coredump', '--system -d / -M --shell /bin/nologin systemd-coredump;', '', d)}" | ||
329 | USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'resolved', '--system -d / -M --shell /bin/nologin systemd-resolve;', '', d)}" | ||
325 | GROUPADD_PARAM_${PN} = "-r lock; -r systemd-journal" | 330 | GROUPADD_PARAM_${PN} = "-r lock; -r systemd-journal" |
331 | USERADD_PARAM_${PN}-extra-utils += "--system -d / -M --shell /bin/nologin systemd-bus-proxy;" | ||
326 | 332 | ||
327 | FILES_${PN}-analyze = "${bindir}/systemd-analyze" | 333 | FILES_${PN}-analyze = "${bindir}/systemd-analyze" |
328 | 334 | ||