1
0
mirror of https://github.com/lxc/lxc-templates.git synced 2025-06-21 08:44:46 +00:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Kaarle Ritvanen
5e1c10b3ed
Merge 02e47a6914f7f213f3e0b81963475dda442db300 into c128b962b3c21dc3e870a91de2d75fecf42bfa58 2025-03-16 10:23:00 +07:00
Stéphane Graber
c128b962b3
gentoo: Fix getting stage3
Closes #69

Suggests-by: atlant2011
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-03-15 15:19:50 -04:00

View File

@ -163,7 +163,7 @@ cache_stage3()
printf "Determining path to latest Gentoo %s (%s) stage3 archive...\n" "${arch}" "${variant}" printf "Determining path to latest Gentoo %s (%s) stage3 archive...\n" "${arch}" "${variant}"
printf " => downloading and processing %s\n" "${stage3_pointer}" 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" || die 6 "Error: unable to fetch\n"
printf " => Got: %s\n" "${stage3_latest_tarball}" printf " => Got: %s\n" "${stage3_latest_tarball}"