Tests: don't install and test gdisk stage

gdisk component has been removed from c10s / el10, therefore we should
not be installing it and testing the stage.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2024-10-01 12:26:51 +02:00
parent 503fb742aa
commit 4a204b5d1f
No known key found for this signature in database
GPG Key ID: C5887AD51D9F3C2D
2 changed files with 3 additions and 2 deletions

View File

@ -16,8 +16,7 @@ sudo dnf install -y \
python3-mako \
python3-pip \
rpm-ostree \
dosfstools \
gdisk
dosfstools
sudo dnf builddep -y osbuild.spec
# Install pytst from pip, because the version in some RHEL / CentOS releases is too old

View File

@ -48,6 +48,8 @@ fi
if ([ "${ID}" == "rhel" ] || [ "${ID}" == "centos" ]) && [ "${VERSION_ID%%.*}" == "10" ]; then
# tomli_w package has been remowed so writin TOML config will fail
TEST_SELECTION_EXPR="${TEST_SELECTION_EXPR} and not (test_write_read)"
# There is no gdisk package on el10
TEST_SELECTION_EXPR="${TEST_SELECTION_EXPR} and not (TestStages and test_sgdisk)"
fi