From 9559d842f78394e4a5472e83013dc03b314a4b69 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Tue, 23 Apr 2013 16:31:32 +0200 Subject: [PATCH] Add extenral repository. --- fed-16-x86_64.cfg.template | 5 ++++- fed-17-x86_64.cfg.template | 5 ++++- fed-18-x86_64.cfg.template | 5 ++++- mock.sh | 2 +- sl-5-i386.cfg.template | 5 ++++- sl-5-x86_64.cfg.template | 5 ++++- sl-6-i386.cfg.template | 5 ++++- sl-6-x86_64.cfg.template | 5 ++++- 8 files changed, 29 insertions(+), 8 deletions(-) diff --git a/fed-16-x86_64.cfg.template b/fed-16-x86_64.cfg.template index 9489020..c1cb9ee 100644 --- a/fed-16-x86_64.cfg.template +++ b/fed-16-x86_64.cfg.template @@ -40,8 +40,11 @@ gpgkey=http://emisoft.web.cern.ch/emisoft/dist/EMI/2/RPM-GPG-KEY-emi protect=1 enabled=1 -[main] [local] name=Local baseurl=file://@PWD@/@REPO@ + +[local-ext] +name=External +baseurl=file://@PWD@/@REPO_EXT@ """ diff --git a/fed-17-x86_64.cfg.template b/fed-17-x86_64.cfg.template index 93eea94..0e04e60 100644 --- a/fed-17-x86_64.cfg.template +++ b/fed-17-x86_64.cfg.template @@ -40,8 +40,11 @@ gpgkey=http://scientific.zcu.cz/repos/RPM-GPG-KEY-valtri protect=1 enabled=1 -[main] [local] name=Local baseurl=file://@PWD@/@REPO@ + +[local-ext] +name=External +baseurl=file://@PWD@/@REPO_EXT@ """ diff --git a/fed-18-x86_64.cfg.template b/fed-18-x86_64.cfg.template index 121060b..37565f6 100644 --- a/fed-18-x86_64.cfg.template +++ b/fed-18-x86_64.cfg.template @@ -40,8 +40,11 @@ gpgkey=http://scientific.zcu.cz/repos/RPM-GPG-KEY-valtri protect=1 enabled=1 -[main] [local] name=Local baseurl=file://@PWD@/@REPO@ + +[local-ext] +name=External +baseurl=file://@PWD@/@REPO_EXT@ """ diff --git a/mock.sh b/mock.sh index 2ab6c7a..acb1c96 100755 --- a/mock.sh +++ b/mock.sh @@ -70,7 +70,7 @@ if test "$1" != "clean"; then touch mock/site-defaults.cfg fi if test ! -s mock/$CONF.cfg -o $LAUNCHDIR/$CONF.cfg.template -nt mock/$CONF.cfg; then - sed -e "s,@PWD@,`pwd`," -e "s,@REPO@,results," $LAUNCHDIR/$CONF.cfg.template > mock/$CONF.cfg + sed -e "s,@PWD@,`pwd`," -e "s,@REPO@,results," -s "s,@REPO_EXT@,externals," $LAUNCHDIR/$CONF.cfg.template > mock/$CONF.cfg fi createrepo results diff --git a/sl-5-i386.cfg.template b/sl-5-i386.cfg.template index 878203a..79ec404 100644 --- a/sl-5-i386.cfg.template +++ b/sl-5-i386.cfg.template @@ -48,8 +48,11 @@ gpgkey=http://scientific.zcu.cz/repos/RPM-GPG-KEY-valtri protect=1 enabled=1 -[main] [local] name=Local baseurl=file://@PWD@/@REPO@ + +[local-ext] +name=External +baseurl=file://@PWD@/@REPO_EXT@ """ diff --git a/sl-5-x86_64.cfg.template b/sl-5-x86_64.cfg.template index 9d7e359..797603c 100644 --- a/sl-5-x86_64.cfg.template +++ b/sl-5-x86_64.cfg.template @@ -48,8 +48,11 @@ gpgkey=http://scientific.zcu.cz/repos/RPM-GPG-KEY-valtri protect=1 enabled=1 -[main] [local] name=Local baseurl=file://@PWD@/@REPO@ + +[local-ext] +name=External +baseurl=file://@PWD@/@REPO_EXT@ """ diff --git a/sl-6-i386.cfg.template b/sl-6-i386.cfg.template index 4faf6cd..4df03d5 100644 --- a/sl-6-i386.cfg.template +++ b/sl-6-i386.cfg.template @@ -48,8 +48,11 @@ gpgkey=http://scientific.zcu.cz/repos/RPM-GPG-KEY-valtri protect=1 enabled=1 -[main] [local] name=Local baseurl=file://@PWD@/@REPO@ + +[local-ext] +name=External +baseurl=file://@PWD@/@REPO_EXT@ """ diff --git a/sl-6-x86_64.cfg.template b/sl-6-x86_64.cfg.template index 9ea8006..cfc63a6 100644 --- a/sl-6-x86_64.cfg.template +++ b/sl-6-x86_64.cfg.template @@ -48,8 +48,11 @@ gpgkey=http://scientific.zcu.cz/repos/RPM-GPG-KEY-valtri protect=1 enabled=1 -[main] [local] name=Local baseurl=file://@PWD@/@REPO@ + +[local-ext] +name=External +baseurl=file://@PWD@/@REPO_EXT@ """ -- 1.8.2.3