repositories: exclude downstream from upstream
We don't want to give the impression we support building Fedora on RHEL or CentOS Stream, or CentOS Stream on RHEL, so drop these repositories from the package. Also adjust dnf-json to use test repositories, rather than the upstream ones. These are shipped in the test package, so makes sure we are unaffected by what is shipped in the RPM shipped in the distros.
This commit is contained in:
parent
961fef25ff
commit
8b84d92264
2 changed files with 32 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ func TestFetchChecksum(t *testing.T) {
|
|||
// this should run cross-arch dependency solving N-1 times.
|
||||
func TestCrossArchDepsolve(t *testing.T) {
|
||||
// Load repositories from the definition we provide in the RPM package
|
||||
repoDir := "/usr/share/osbuild-composer"
|
||||
repoDir := "/usr/share/tests/osbuild-composer"
|
||||
|
||||
// NOTE: we can add RHEL, but don't make it hard requirement because it will fail outside of VPN
|
||||
for _, distroStruct := range []distro.Distro{fedora33.New()} {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue