Merge "Make preinstall.d more deterministic"
This commit is contained in:
commit
87392cf1c8
@ -6,8 +6,12 @@ fi
|
|||||||
set -eu
|
set -eu
|
||||||
set -o pipefail
|
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.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
|
# needed in order to install pip packages as root
|
||||||
echo 'dev-python/pip vanilla' >> /etc/portage/package.use/pip
|
echo 'dev-python/pip vanilla' >> /etc/portage/package.use/pip
|
@ -18,11 +18,6 @@ if [[ ! -f /usr/portage/profiles ]]; then
|
|||||||
emerge-webrsync -q
|
emerge-webrsync -q
|
||||||
fi
|
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
|
# 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
|
echo "PYTHON_TARGETS=\"${GENTOO_PYTHON_TARGETS}\"" >> /etc/portage/make.conf
|
||||||
if [[ "${GENTOO_PYTHON_TARGETS}" == *"python3_6"* ]]; then
|
if [[ "${GENTOO_PYTHON_TARGETS}" == *"python3_6"* ]]; then
|
Loading…
Reference in New Issue
Block a user