tests: Hard code test repos
The test systems add a bunch of extra repos that cause depsolving problems. Only use the minimum needed repos for lorax to build the iso. Related: RHEL-61778
This commit is contained in:
parent
1bfdb5ddf9
commit
23de21feb1
@ -306,12 +306,9 @@ if [ ! -e /usr/share/lorax/templates.d/80-rhel/ ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Gather up the list of system repo files and use them for lorax
|
# HARD CODE the list of repos
|
||||||
REPOS=$(find /etc/yum.repos.d/ -maxdepth 1 -type f -name '*\.repo' ! -name 'fedora.repo' -exec echo -n "--repo {} " \;)
|
# test systems add a bunch of unneeded repos that cause things to fail
|
||||||
if [ -z "$REPOS" ]; then
|
REPOS="--repo /etc/yum.repos.d/centos.repo --repo /etc/yum.repos.d/test-artifacts.repo"
|
||||||
echo "No system repos found"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# The c10s tmt systems have started using $stream in the repo urls as of 6/2024, substitute
|
# The c10s tmt systems have started using $stream in the repo urls as of 6/2024, substitute
|
||||||
# 10-stream for this variable so that they can be passed to lorax
|
# 10-stream for this variable so that they can be passed to lorax
|
||||||
|
Loading…
Reference in New Issue
Block a user