[node-patches] Change in ovirt-node-iso[ovirt-3.5]: Fix fedora url
fabiand at redhat.com
fabiand at redhat.com
Mon Aug 4 13:55:00 UTC 2014
Fabian Deutsch has uploaded a new change for review.
Change subject: Fix fedora url
......................................................................
Fix fedora url
Change-Id: I19ae3174513dc0921ca84465f264fb747d82842e
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M generate-repos.sh
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node-iso refs/changes/20/31020/1
diff --git a/generate-repos.sh b/generate-repos.sh
index 52a6090..1363e65 100755
--- a/generate-repos.sh
+++ b/generate-repos.sh
@@ -7,7 +7,7 @@
# URLs to release files containing the repositories to use
#
OVIRT_RELEASE_FILE_URL=http://resources.ovirt.org/pub/yum-repo/ovirt-release$OVERSION.rpm
-FEDORA_RELEASE_FILE_URL=http://download.fedoraproject.org/fedora/linux/releases/20/Fedora/x86_64/os/Packages/f/fedora-release-20-1.noarch.rpm
+FEDORA_RELEASE_FILE_URL=http://download.fedoraproject.org/pub/fedora/linux/releases/20/Fedora/x86_64/os/Packages/f/fedora-release-20-1.noarch.rpm
CENTOS_RELEASE_FILE_URL=http://mirror.centos.org/centos/6/os/x86_64/Packages/centos-release-6-5.el6.centos.11.1.x86_64.rpm
@@ -40,12 +40,13 @@
# The mirrorlist links don't work with epel
hack_epel() { sed "/mirrorlist.*epel/ s/^/#/ ; /baseurl.*fedora.*epel/ s/^#//" ; }
+use_baseurl() { sed "/^mirrorlist=/ s/^/#/ ; /^#baseurl=/ s/^#//" ; }
assert_url_exists $OVIRT_RELEASE_FILE_URL
rpmcat $OVIRT_RELEASE_FILE_URL \
./usr/share/ovirt-release$OVERSION/ovirt.repo \
./usr/share/ovirt-release$OVERSION/ovirt-$DEPS-deps.repo \
- | sed "s/@DIST@/$DIST/" | hack_epel
+ | sed "s/@DIST@/$DEPS/" | hack_epel
}
--
To view, visit http://gerrit.ovirt.org/31020
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I19ae3174513dc0921ca84465f264fb747d82842e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node-iso
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
More information about the node-patches
mailing list