mirror of
https://github.com/systemd/systemd.git
synced 2025-03-08 08:58:27 +03:00
mkosi/fedora: silence warning about sysusers config mismatch
This commit is contained in:
parent
dede53943f
commit
385fb4e323
@ -146,6 +146,34 @@ if [ ! -f "$BUILDDIR"/build.ninja ]; then
|
||||
)
|
||||
fi
|
||||
|
||||
# Set various uids and gids for which Fedora has "soft static" allocations.
|
||||
# Without this, we would get warning about mismatched sysusers.d entries
|
||||
# between the files that we and Fedora's setup package install.
|
||||
if grep -q '^ID=fedora' /etc/os-release; then
|
||||
CONFIGURE_OPTS+=(
|
||||
-Dadm-gid=4
|
||||
-Daudio-gid=63
|
||||
-Dcdrom-gid=11
|
||||
-Ddialout-gid=18
|
||||
-Ddisk-gid=6
|
||||
-Dinput-gid=104
|
||||
-Dkmem-gid=9
|
||||
-Dkvm-gid=36
|
||||
-Dlp-gid=7
|
||||
-Drender-gid=105
|
||||
-Dsgx-gid=106
|
||||
-Dtape-gid=33
|
||||
-Dtty-gid=5
|
||||
-Dusers-gid=100
|
||||
-Dutmp-gid=22
|
||||
-Dvideo-gid=39
|
||||
-Dwheel-gid=10
|
||||
-Dsystemd-journal-gid=190
|
||||
-Dsystemd-network-uid=192
|
||||
-Dsystemd-resolve-uid=193
|
||||
)
|
||||
fi
|
||||
|
||||
meson setup "$BUILDDIR" "${CONFIGURE_OPTS[@]}"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user