diff --git a/mkosi.presets/00-base/mkosi.prepare b/mkosi.presets/00-base/mkosi.prepare index 269ba3e153..c056d4fc59 100755 --- a/mkosi.presets/00-base/mkosi.prepare +++ b/mkosi.presets/00-base/mkosi.prepare @@ -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