Purge pkg cache to avoid perl build errors.

This commit is contained in:
Alexis Lahouze 2019-03-08 21:58:39 +01:00
parent 03d5445595
commit 89d59cf15d
1 changed files with 3 additions and 6 deletions

View File

@ -33,16 +33,13 @@ wget -q -N -P /var/lib/catalyst/store/snapshots/ \
https://gentoo.osuosl.org/releases/snapshots/current/portage-latest.tar.bz2
# Build stage1 snapshot
catalyst -c /var/lib/catalyst/catalyst.conf -f /stage1.spec $*
catalyst -c /var/lib/catalyst/catalyst.conf -f /stage1.spec -p $*
# Build stage2 snapshot
catalyst -c /var/lib/catalyst/catalyst.conf -f /stage2.spec $*
# Cleanup stage3 package cache
#rm -Rf /var/lib/catalyst/store/packages/default/stage3-amd64/*
catalyst -c /var/lib/catalyst/catalyst.conf -f /stage2.spec -p $*
# Build stage3 snapshot
catalyst -c /var/lib/catalyst/catalyst.conf -f /stage3.spec $*
catalyst -c /var/lib/catalyst/catalyst.conf -f /stage3.spec -p $*
# Build custom packages
catalyst -c /var/lib/catalyst/catalyst.conf -f /var/lib/catalyst/stage4.spec $*