Commit 58e6399a by lxc@zitta.fr Committed by Stéphane Graber

gentoo container building fails during wget.

follow new gentoo's download server configuration. Should be backported in earlier lxc versions. Signed-off-by: 's avatarGuillaume ZITTA <lxc@zitta.fr> Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>
parent f7cf9dec
......@@ -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}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment