From 0f0f9f076416aa517169ebcc91907ae38edd7b79 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Thu, 18 Jul 2024 09:06:04 -0700 Subject: [PATCH] tests: Replace $stream with 9-stream Lorax doesn't use the variable substitution from the host so hard-code this in the repo files before passing them to lorax. Resolves: RHEL-49677 --- tests/scripts/run_tests.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh index 222d168..9f6e98a 100755 --- a/tests/scripts/run_tests.sh +++ b/tests/scripts/run_tests.sh @@ -227,6 +227,10 @@ if [ -z "$REPOS" ]; then exit 1 fi +# The c9s tmt systems have started using $stream in the repo urls as of 6/2024, substitute +# 9-stream for this variable so that they can be passed to lorax +sed -i 's/$stream/9-stream/g' /etc/yum.repos.d/*.repo + # Run lorax using the host's repository configuration file if [ ! -e "$BOOTISO" ]; then running "Build boot.iso with lorax"