1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-11 09:18:07 +03:00

mkosi: Stop creating test users in prepare scripts

This was added for opensuse to make the tests pass but doesn't seem
to be needed anymore after recent changes so let's drop it.
This commit is contained in:
Daan De Meyer 2023-05-06 11:36:14 +02:00
parent 4bfcb6ba27
commit 3e9dd3cde0

View File

@ -9,10 +9,4 @@ if [ "$1" = "build" ]; then
alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
alternatives --set python3 /usr/bin/python3.9
fi
# Make sure the necessary test users are available in the build image. We do this here because the build
# script does not run as root.
for id in 1 2 3; do
getent group $id >/dev/null || echo "g testgroup$id $id -" | systemd-sysusers -
done
fi