gentoo-builder/entrypoint.sh

18 lines
439 B
Bash
Raw Normal View History

2018-11-04 03:49:15 +01:00
#!/bin/bash
die() {
echo $* >&2
exit 1
}
# Download latest portage snapshot
wget -O /var/lib/catalyst/store/snapshots/portage-latest.tar.bz2 \
https://gentoo.osuosl.org/releases/snapshots/current/portage-latest.tar.bz2
# Update stage3 snapshot
2018-11-24 13:14:45 +01:00
catalyst -c /var/lib/catalyst/catalyst.conf -f /var/lib/catalyst/stage3.spec
2018-11-04 03:49:15 +01:00
# Update custom packages
2018-11-24 13:14:45 +01:00
catalyst -c /var/lib/catalyst/catalyst.conf -f /var/lib/catalyst/build.spec