Update base stage3 before build launch.

This commit is contained in:
Alexis Lahouze 2018-11-24 13:15:12 +01:00
parent 65cb017825
commit 2871414402
1 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,14 @@ die() {
exit 1
}
# Get latest stage3 tag
STAGE3_TAG=$(curl -s \
http://distfiles.gentoo.org/releases/amd64/autobuilds/latest-stage3-amd64.txt \
| grep -v "^#" | cut -d ' ' -f 1)
# Download latest stable stage3 build
wget -O /var/lib/catalyst/store/builds/stage3-amd64-latest.tar.xz \
http://distfiles.gentoo.org/releases/amd64/autobuilds/${STAGE3_TAG}
# Download latest portage snapshot
wget -O /var/lib/catalyst/store/snapshots/portage-latest.tar.bz2 \