-
Notifications
You must be signed in to change notification settings - Fork 568
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cherry-pick to 3.0] Add priorities to local repos (#10074)
Co-authored-by: Daniel McIlvaney <[email protected]>
- Loading branch information
1 parent
4ca9366
commit 0f0a7df
Showing
1 changed file
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |