Install or remove packages in the test environment

which are needed for running the tests or prevent some test tools
from installing

Related: rhbz#1698366
This commit is contained in:
Alexander Todorov 2019-07-05 19:00:55 +03:00 committed by Alexander Todorov
parent e7035b8f78
commit 29531d373e

View File

@ -29,6 +29,22 @@ if ! rpm -q beakerlib; then
fi
fi
if rpm -q python2-cryptography; then
yum remove -y python2-cryptography
fi
if rpm -q pyparsing; then
yum remove -y pyparsing
fi
if ! rpm -q git; then
yum install -y git
fi
if ! rpm -q qemu-system-x86; then
yum install -y qemu-system-x86
fi
# Grow root partition to make room for images. This only works on Fedora right now.
parted --script /dev/vda resizepart 2 100%
partprobe