Files
docker-stage3-amd64/script/post-update.sh
T
mudler 61d6d6d82a [script/sabayon-configuration] sad to see https://bugs.gentoo.org/show_bug.cgi?id=504118 again.
[script/post-update] adding installation of base-gcc in sabayon/stage3
* adapting to stage3 changes
* gcc bump since last our gentoo-stage3 rebuild
2015-11-22 15:06:09 +01:00

27 lines
685 B
Bash

#!/bin/bash
mkdir -p /etc/portage/repos.conf/
echo "[DEFAULT]
main-repo = gentoo
[gentoo]
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.europe.gentoo.org/gentoo-portage
" > /etc/portage/repos.conf/gentoo.conf
# Upgrading packages
rsync -av "rsync://rsync.at.gentoo.org/gentoo-portage/licenses/" "/usr/portage/licenses/" && ls /usr/portage/licenses -1 | xargs -0 > /etc/entropy/packages/license.accept && \
equo up && equo u && \
echo -5 | equo conf update
# Remove compilation tools
equo rm --nodeps --force-system automake bison yacc gcc localepurge
equo i base-gcc
# Writing package list file
equo q list installed -qv > /etc/sabayon-pkglist
equo cleanup