-
Notifications
You must be signed in to change notification settings - Fork 567
/
Copy pathlocal.repo
48 lines (45 loc) · 1.71 KB
/
local.repo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# This repo file is used by both the package fetcher as well as
# the package workers.
#
# For the fetcher, the repos' priority forces it to populate the cache
# (last in the list) by searching the repositories in the order defined below.
# The cache repo is empty during a clean build
# but allows avoiding network re-downloads during subsequent builds.
# Unless upstream repos are explcitly disabled, if a package is absent in
# all local repos defined in this file, the fetcher will access the network
# and search the official upstream repo and/or repos provided by the user.
#
# The package workers DO NOT access the network for the sake of satisfying
# package dependencies. They rely on the local repos defined below.
# We start with the toolchain packages even if they would overwrite
# the local ones, to guarantee a stable, known build environment.
[toolchain-repo]
name=Local Toolchain Repo (build/toolchain_rpms/)
baseurl=file:///toolchainrpms
enabled=1
gpgcheck=0
skip_if_unavailable=1
sslverify=0
priority=1
# Afterwards, we prefer the local packages over the ones cached by the package
# fetcher so users can build with their versions of these packages, if desired.
[local-repo]
name=Local Build Repo (out/RPMS)
baseurl=file:///localrpms
enabled=1
gpgcheck=0
skip_if_unavailable=1
sslverify=0
priority=2
# To satisfy all remaining dependencies, during package builds
# we use the packages cached earlier by the package fetcher.
# The fetcher itself will use this cache to avoid re-downloading
# a dependency it has cached during an earlier run.
[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