1
0
mirror of https://github.com/lxc/lxc-templates.git synced 2025-05-17 19:07:13 +00:00

gentoo: Fix getting stage3

Closes #69

Suggests-by: atlant2011
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
Stéphane Graber 2025-03-15 15:19:50 -04:00
parent da14466ce0
commit c128b962b3
No known key found for this signature in database
GPG Key ID: C638974D64792D67

View File

@ -163,7 +163,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 | cut -d' ' -f1) \
local stage3_latest_tarball=$(wget -q -O - "${stage3_pointer}" | grep stage3 | tail -n1 | cut -d' ' -f1) \
|| die 6 "Error: unable to fetch\n"
printf " => Got: %s\n" "${stage3_latest_tarball}"