]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 20 Dec 2020 00:03:01 +0000 (00:03 +0000)
commit77a6ac0ac266d71e4fe67fd332662081f30cd7bf
tree965070e00182b2fcf0d888230c99b93d9afc288d
parentacf78fd3d03e4fe07ee4ad677f178d17dc10ac7b
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>
meta/recipes-core/systemd/systemd_247.2.bb