]>
git.ipfire.org Git - thirdparty/systemd.git/blob - mkosi.prepare
2 # SPDX-License-Identifier: LGPL-2.1-or-later
5 if [ "$(grep '^ID=' /etc/os-release)" = "ID=\"centos\"" ] && [ "$(grep '^VERSION=' /etc/os-release)" = "VERSION=\"8\"" ]; then
6 alternatives
--install /usr
/bin
/python3 python3
/usr
/bin
/python3.9
1
7 alternatives
--set python3
/usr
/bin
/python3.9
10 # Make sure the necessary test users are available in the build image. We do this here because the build
11 # script does not run as root.
12 if [ "$1" = "build" ]; then
14 getent group
$id >/dev
/null ||
echo "g testgroup$id $id -" | systemd-sysusers
-