From 6b1dce5f0c3c50d4eb9f1ec45c3df2eb8f84bdb6 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Tue, 4 Jun 2024 11:19:30 -0700 Subject: [PATCH] tests: Do not use fedora.repo for the test build The tmt systems have a fedora.repo present which is including packages that are not built for RHEL10 and can cause the test build to fail. Resolves: RHEL-40022 --- tests/scripts/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh index 0665bd4..10fb11d 100755 --- a/tests/scripts/run_tests.sh +++ b/tests/scripts/run_tests.sh @@ -245,7 +245,7 @@ if [ ! -e /usr/share/lorax/templates.d/80-rhel/ ]; then fi # Gather up the list of system repo files and use them for lorax -REPOS=$(find /etc/yum.repos.d/ -maxdepth 1 -type f -name '*\.repo' -exec echo -n "--repo {} " \;) +REPOS=$(find /etc/yum.repos.d/ -maxdepth 1 -type f -name '*\.repo' ! -name 'fedora.repo' -exec echo -n "--repo {} " \;) if [ -z "$REPOS" ]; then echo "No system repos found" exit 1