Skip to content

Commit

Permalink
[cherry-pick to 3.0] Add priorities to local repos (#10074)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel McIlvaney <[email protected]>
  • Loading branch information
anphel31 and dmcilvaney authored Aug 9, 2024
1 parent 4ca9366 commit 0f0a7df
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions toolkit/resources/manifests/package/local.repo
Original file line number Diff line number Diff line change
@@ -1,23 +1,31 @@
# Start with the toolchain repo as highest priority...
[toolchain-repo]
name=Local Toolchain Repo (build/toolchain_rpms/)
baseurl=file:///toolchainrpms
enabled=1
gpgcheck=0
skip_if_unavailable=1
sslverify=0
priority=1

# Next highest should be existing locally built packages...
[local-repo]
name=Local Build Repo (out/RPMS)
baseurl=file:///localrpms
enabled=1
gpgcheck=0
skip_if_unavailable=1
sslverify=0
priority=2

# Then packages we have already cached from upstream...
[upstream-cache-repo]
name=Cache Repo for upstream RPMs (build/rpm_cache/cache)
baseurl=file:///upstream-cached-rpms
enabled=1
gpgcheck=0
skip_if_unavailable=1
sslverify=0
priority=3

# Unless disabled, finally fall back to the upstream repos for any missing packages.

0 comments on commit 0f0a7df

Please sign in to comment.