summaryrefslogtreecommitdiffstats
path: root/mkosi.prepare
diff options
context:
space:
mode:
Diffstat (limited to 'mkosi.prepare')
-rwxr-xr-xmkosi.prepare16
1 files changed, 0 insertions, 16 deletions
diff --git a/mkosi.prepare b/mkosi.prepare
deleted file mode 100755
index 7e00df0152..0000000000
--- a/mkosi.prepare
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-# SPDX-License-Identifier: LGPL-2.1-or-later
-set -e
-
-if [ "$(grep '^ID=' /etc/os-release)" = "ID=\"centos\"" ] && [ "$(grep '^VERSION=' /etc/os-release)" = "VERSION=\"8\"" ]; 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.
-if [ "$1" = "build" ]; then
- for id in 1 2 3; do
- getent group $id >/dev/null || echo "g testgroup$id $id -" | systemd-sysusers -
- done
-fi