From d1500f92ca4d383bf7ee4d5e1689d6d3738ce5b0 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 3 May 2016 15:16:50 +0200 Subject: [PATCH] packagekit-cached-metadata.ks: Update Branched and Rawhide repo URLs They changed with the switch to Pungi. --- snippets/packagekit-cached-metadata.ks | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/packagekit-cached-metadata.ks b/snippets/packagekit-cached-metadata.ks index af206b0..2e20f47 100644 --- a/snippets/packagekit-cached-metadata.ks +++ b/snippets/packagekit-cached-metadata.ks @@ -19,7 +19,7 @@ PK_PREFIX=`mktemp -d` mkdir -p $PK_PREFIX/etc/yum.repos.d if [ -f /etc/yum.repos.d/fedora.repo ] ; then cp /etc/yum.repos.d/fedora.repo $PK_PREFIX/etc/yum.repos.d/ - sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch|baseurl=http://kojipkgs.fedoraproject.org/mash/branched/$basearch/os/|' \ + sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch|baseurl=http://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-/compose/Everything/$basearch/os/|' \ $PK_PREFIX/etc/yum.repos.d/fedora.repo fi if [ -f /etc/yum.repos.d/fedora-updates.repo ] ; then @@ -34,7 +34,7 @@ if [ -f /etc/yum.repos.d/fedora-updates-testing.repo ] ; then fi if [ -f /etc/yum.repos.d/fedora-rawhide.repo ] ; then cp /etc/yum.repos.d/fedora-rawhide.repo $PK_PREFIX/etc/yum.repos.d/ - sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=$basearch|baseurl=http://kojipkgs.fedoraproject.org/mash/rawhide/$basearch/os/|' \ + sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=$basearch|baseurl=http://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-/compose/Everything/$basearch/os/|' \ $PK_PREFIX/etc/yum.repos.d/fedora-rawhide.repo fi rpm --root=$PK_PREFIX --initdb