mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 21:59:42 +01:00
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. (From OE-Core rev: 77a6ac0ac266d71e4fe67fd332662081f30cd7bf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -213,6 +213,10 @@ EXTRA_OEMESON += "-Dnobody-user=nobody \
|
||||
-Drootprefix=${rootprefix} \
|
||||
-Ddefault-locale=C \
|
||||
-Dmode=release \
|
||||
-Dsystem-alloc-uid-min=101 \
|
||||
-Dsystem-uid-max=999 \
|
||||
-Dsystem-alloc-gid-min=101 \
|
||||
-Dsystem-gid-max=999 \
|
||||
"
|
||||
|
||||
# Hardcode target binary paths to avoid using paths from sysroot
|
||||
|
||||
Reference in New Issue
Block a user