Pass parameters to catalyst.

This commit is contained in:
Alexis Lahouze 2019-01-17 02:23:21 +01:00
parent 3bf0db5d9a
commit 7a38caec12

View File

@ -33,16 +33,16 @@ 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 $*
# 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 $*
# Cleanup stage3 package cache # Cleanup stage3 package cache
#rm -Rf /var/lib/catalyst/store/packages/default/stage3-amd64/* #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 $*
# 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 $*