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 # python39-pluggy is a pytest dependency that's not installed for some reason.
9 --enablerepo=powertools \
10 --setopt=powertools.module_hotfixes
=true \
17 alternatives
--install /usr
/bin
/python3 python3
/usr
/bin
/python3.9
1
18 alternatives
--set python3
/usr
/bin
/python3.9
21 # Make sure the necessary test users are available in the build image. We do this here because the build
22 # script does not run as root.
23 if [ "$1" = "build" ]; then
25 getent group
$id >/dev
/null ||
echo "g testgroup$id $id -" | systemd-sysusers
-