Merge "Make preinstall.d more deterministic"

This commit is contained in:
Zuul 2017-11-30 05:50:03 +00:00 committed by Gerrit Code Review
commit 87392cf1c8
3 changed files with 5 additions and 6 deletions

View File

@ -6,8 +6,12 @@ fi
set -eu
set -o pipefail
mkdir -p /etc/portage/package.use
# get the directories in order
mkdir -p /etc/portage/profile
mkdir -p /etc/portage/package.keywords
mkdir -p /etc/portage/package.mask
mkdir -p /etc/portage/package.unmask
mkdir -p /etc/portage/package.use
# needed in order to install pip packages as root
echo 'dev-python/pip vanilla' >> /etc/portage/package.use/pip

View File

@ -18,11 +18,6 @@ if [[ ! -f /usr/portage/profiles ]]; then
emerge-webrsync -q
fi
# get the directories in order
mkdir -p /etc/portage/profile
mkdir -p /etc/portage/package.keywords
mkdir -p /etc/portage/package.use
# python-3.6 and python-3.5 are masked and considered unstable for some reason
echo "PYTHON_TARGETS=\"${GENTOO_PYTHON_TARGETS}\"" >> /etc/portage/make.conf
if [[ "${GENTOO_PYTHON_TARGETS}" == *"python3_6"* ]]; then