2017-09-13 21:57:12 +00:00
|
|
|
export DIB_RELEASE=gentoo
|
2016-01-28 22:24:12 +00:00
|
|
|
export DISTRO_NAME=gentoo
|
2018-02-12 16:36:03 +00:00
|
|
|
export GENTOO_PROFILE=${GENTOO_PROFILE:-'default/linux/amd64/17.0'}
|
2018-03-27 04:26:49 +00:00
|
|
|
export GENTOO_PORTAGE_CLEANUP=${GENTOO_PORTAGE_CLEANUP:-'True'}
|
2019-01-08 10:59:08 +00:00
|
|
|
export GENTOO_PYTHON_TARGETS=${GENTOO_PYTHON_TARGETS:-'python2_7 python3_6'}
|
|
|
|
export GENTOO_PYTHON_ACTIVE_VERSION=${GENTOO_PYTHON_ACTIVE_VERSION:-'python3.6'}
|
2017-11-01 03:04:29 +00:00
|
|
|
export GENTOO_OVERLAYS=${GENTOO_OVERLAYS:-''}
|
2018-10-08 05:39:35 +00:00
|
|
|
export GENTOO_EMERGE_DEFAULT_OPTS=${GENTOO_EMERGE_DEFAULT_OPTS:-"--binpkg-respect-use --rebuilt-binaries=y --usepkg=y --with-bdeps=y --binpkg-changed-deps=y --quiet --jobs=2"}
|
|
|
|
|
|
|
|
# set the default bash array if GENTOO_EMERGE_ENV is not defined as an array
|
|
|
|
if ! declare -p GENTOO_EMERGE_ENV 2> /dev/null | grep -q '^declare \-a'; then
|
2019-07-05 17:41:51 +00:00
|
|
|
export GENTOO_EMERGE_ENV=('USE="-build"' 'FEATURES="binpkg-multi-instance buildpkg parallel-fetch parallel-install"' 'EMERGE_DEFAULT_OPTS="--autounmask=n"')
|
2018-10-08 05:39:35 +00:00
|
|
|
fi
|
|
|
|
# itterate over the array, exporting each 'line'
|
|
|
|
for (( i=0; i<${#GENTOO_EMERGE_ENV[@]}; i++ )); do
|
|
|
|
eval export "${GENTOO_EMERGE_ENV[i]}"
|
|
|
|
done
|