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

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 https://gentoo.osuosl.org/releases/snapshots/current/portage-latest.tar.bz2
# Build stage1 snapshot # 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 # Build stage2 snapshot
catalyst -c /var/lib/catalyst/catalyst.conf -f /stage2.spec $* catalyst -c /var/lib/catalyst/catalyst.conf -f /stage2.spec -p $*
# Cleanup stage3 package cache
#rm -Rf /var/lib/catalyst/store/packages/default/stage3-amd64/*
# Build stage3 snapshot # 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 # Build custom packages
catalyst -c /var/lib/catalyst/catalyst.conf -f /var/lib/catalyst/stage4.spec $* catalyst -c /var/lib/catalyst/catalyst.conf -f /var/lib/catalyst/stage4.spec $*