From 35e68b0447feb185db41395c70bdf16da6bbad94 Mon Sep 17 00:00:00 2001 From: "lxc@zitta.fr" Date: Fri, 20 Feb 2015 22:53:40 +0100 Subject: [PATCH] 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 --- templates/lxc-gentoo.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- 2.47.2