]> code.ossystems Code Review - openembedded-core.git/commit
systemd: Ensure uid/gid ranges are set deterministically
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 19 Dec 2020 11:20:31 +0000 (11:20 +0000)
committerSteve Sakoman <steve@sakoman.com>
Mon, 7 Mar 2022 17:05:18 +0000 (07:05 -1000)
commit56f57c70fb87beb9a7181df8cb5e7a4a0b5a184a
treea9f619d568d71e58d644677040ff9807d199d0cb
parent6b899f694ec57bb3c6254d59ac5c51378579c014
systemd: Ensure uid/gid ranges are set deterministically

meson.build will fall back to greping /etc/login.defs for values of these
if they're not set. Different distros set them (Centos 7/8 does, Ubuntu
does not) so output was not deterministic. Avoid this by setting to the
default values. We now match the vaules from login.defs from shadow.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 77a6ac0ac266d71e4fe67fd332662081f30cd7bf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/systemd/systemd_244.5.bb