From: lxc@zitta.fr Date: Fri, 20 Feb 2015 21:53:40 +0000 (+0100) Subject: gentoo container building fails during wget. X-Git-Tag: lxc-1.1.1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58e6399a20a4faf83a7e32ad00fb572573cce98e;p=thirdparty%2Flxc.git gentoo container building fails during wget. follow new gentoo's download server configuration. Should be backported in earlier lxc versions. Signed-off-by: Guillaume ZITTA Acked-by: Serge E. Hallyn --- diff --git a/templates/lxc-gentoo.in b/templates/lxc-gentoo.in index 92edcd4c4..bcaca4eb7 100644 --- a/templates/lxc-gentoo.in +++ b/templates/lxc-gentoo.in @@ -160,7 +160,7 @@ cache_stage3() printf "Determining path to latest Gentoo %s (%s) stage3 archive...\n" "${arch}" "${variant}" printf " => downloading and processing %s\n" "${stage3_pointer}" - local stage3_latest_tarball=$(wget -q -O - "${stage3_pointer}" | tail -n1 ) \ + local stage3_latest_tarball=$(wget -q -O - "${stage3_pointer}" | tail -n1 | cut -d' ' -f1) \ || die 6 "Error: unable to fetch\n" printf " => Got: %s\n" "${stage3_latest_tarball}"