switch to python 3.6 as default

This commit is contained in:
Ettore Di Giacinto
2018-10-28 14:51:26 +01:00
parent dc6acdb247
commit 41fbd981ac
2 changed files with 4 additions and 4 deletions
+1 -3
View File
@@ -10,9 +10,7 @@ RUN locale-gen || true
# Upgrading portage and installing necessary packages
RUN rm -rf '/usr/portage/metadata/timestamp.chk' && \
emerge-webrsync && \
layman -S && echo "y" | layman -a sabayon
emerge-webrsync
# Configure the sabayon box, installing equo setting up locales
ADD ./script/sabayon-configuration.sh /
RUN /bin/bash /sabayon-configuration.sh && rm -rf /sabayon-configuration.sh
+3 -1
View File
@@ -24,7 +24,9 @@ echo "dev-lang/python sqlite
sys-apps/file python
" > /etc/portage/package.use/00-sabayon.package.use
emerge layman
layman -S && echo "y" | layman -a sabayon
echo "y" | layman -a sabayon-distro
sed -i 's/repos\.conf/make.conf/' /etc/layman/layman.cfg
@@ -45,7 +47,7 @@ USE="ncurses" emerge -j -vt equo app-admin/localepurge --autounmask-write || exi
emerge -j expect || exit 1
# Enforce choosing only python2.7 for now, cleaning others
eselect python set python2.7
eselect python set python3.6
# default for next stage(s)
echo "nameserver 8.8.8.8" > /etc/resolv.conf