2019-07-26 22:18:40 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
|
|
set -x
|
|
|
|
fi
|
|
|
|
set -eu
|
|
|
|
set -o pipefail
|
|
|
|
|
|
|
|
# set profile symlink to the hardcoded PORDIR
|
|
|
|
ln -sf ../.."${PORTDIR}/profiles/${GENTOO_PROFILE}" /etc/portage/make.profile
|
2020-04-03 05:50:14 +00:00
|
|
|
|
|
|
|
# Set timezone
|
|
|
|
echo 'UTC' > /etc/timezone
|
|
|
|
|
|
|
|
# Set locale
|
|
|
|
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
|
|
|
|
echo 'en_US ISO-8859-1' >> /etc/locale.gen
|
|
|
|
locale-gen -q
|
|
|
|
eselect locale set en_US.utf8
|