[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
This commit is contained in:
mudler
2015-11-22 14:14:45 +01:00
parent c4cf9ca75b
commit 61d6d6d82a
2 changed files with 16 additions and 0 deletions
+2
View File
@@ -18,6 +18,8 @@ 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
+14
View File
@@ -26,6 +26,17 @@ echo "dev-lang/python sqlite
sys-apps/file python
" > /etc/portage/package.use/00-sabayon.package.use
echo "y" | layman -a sabayon-distro
echo "source /var/lib/layman/make.conf" >> /etc/portage/make.conf
eselect profile set default/linux/amd64/13.0
# Sad to face this issue still after 1.5yr, see https://bugs.gentoo.org/show_bug.cgi?id=504118
ln -s /lib64/gentoo/functions.sh /etc/init.d/functions.sh
gcc-config -c
gcc-config 1
. /etc/profile
# emerging equo and expect
USE="ncurses" emerge -j -vt equo --autounmask-write || exit 1
@@ -44,3 +55,6 @@ echo "nameserver 8.8.8.8" > /etc/resolv.conf
chsh -s /bin/bash
rm -rf /etc/make.profile
# removing workaround, it is fixed in Entropy
rm -rf /etc/init.d/functions.sh