Separate extras yum repo from other official repos

Sometimes it is necessary to enable extras yum repository while it is
disabled by default. The most convenient way is to set YUM_REPOS
variable for a particular job. This patch makes it possible.

Change-Id: Icb074474fa4602288aa43129dd1dfc058ebe646b
This commit is contained in:
Vladimir Kozhukalov 2015-09-29 17:21:23 +03:00
parent 8601e5f53f
commit 4bcf78a566
1 changed files with 3 additions and 1 deletions

View File

@ -72,13 +72,15 @@ gpgcheck=0
enabled=1
includepkgs=$(x86_rpm_packages_whitelist)
priority=90
endef
define yum_repo_extras
[extras]
name=CentOS-$(CENTOS_RELEASE) - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$(CENTOS_RELEASE)&arch=$(CENTOS_ARCH)&repo=extras
baseurl=$(MIRROR_CENTOS)/extras/$(CENTOS_ARCH)
gpgcheck=0
enabled=0
enabled=1
priority=90
[centosplus]