From: InformatiQ Date: Wed, 13 Jul 2011 21:41:03 +0000 (+0300) Subject: fix RELEAE_URL to not hardcode the arch X-Git-Tag: lxc-0.7.5~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=989457599472cba389a09d0279dd752dfbafd842;p=thirdparty%2Flxc.git fix RELEAE_URL to not hardcode the arch Signed-off-by: Daniel Lezcano --- diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in index c29290831..81f8bc46e 100644 --- a/templates/lxc-fedora.in +++ b/templates/lxc-fedora.in @@ -111,7 +111,7 @@ download_fedora() echo "Downloading fedora minimal ..." YUM="yum --installroot $INSTALL_ROOT -y --nogpgcheck" PKG_LIST="yum initscripts passwd rsyslog vim-minimal dhclient chkconfig rootfiles policycoreutils" - RELEASE_URL="http://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/$release/Everything/x86_64/os/Packages/fedora-release-$release-1.noarch.rpm" + RELEASE_URL="http://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/$release/Everything/$arch/os/Packages/fedora-release-$release-1.noarch.rpm" curl $RELEASE_URL > $INSTALL_ROOT/fedora-release-$release.noarch.rpm mkdir -p $INSTALL_ROOT/var/lib/rpm