From e1036f9ff6b3073130516811ac2b1ef66062efeb Mon Sep 17 00:00:00 2001 From: mudler Date: Mon, 1 Aug 2016 18:13:35 +0200 Subject: [PATCH] Revert "Generate all locales for the live image." This reverts commit e8332e0fc93ffba8635c4898b707f775f51bf01f. --- script/post-upgrade.sh | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/script/post-upgrade.sh b/script/post-upgrade.sh index 310e26e..e6313e6 100644 --- a/script/post-upgrade.sh +++ b/script/post-upgrade.sh @@ -1,7 +1,4 @@ #!/bin/bash -/usr/sbin/env-update -source /etc/profile - export ACCEPT_LICENSE=* PACKAGES_TO_REMOVE=( @@ -93,29 +90,6 @@ equo up && equo u equo rm --deep --configfiles --force-system "${PACKAGES_TO_REMOVE[@]}" equo i "${PACKAGES_TO_ADD[@]}" -# Configure glibc locale, ship image with all locales enabled -# or anaconda will crash if the user selects an unsupported one -echo ' -# /etc/locale.gen: list all of the locales you want to have on your system -# -# The format of each line: -# -# -# Where is a locale located in /usr/share/i18n/locales/ and -# where is a charmap located in /usr/share/i18n/charmaps/. -# -# All blank lines and lines starting with # are ignored. -# -# For the default list of supported combinations, see the file: -# /usr/share/i18n/SUPPORTED -# -# Whenever glibc is emerged, the locales listed here will be automatically -# rebuilt for you. After updating this file, you can simply run `locale-gen` -# yourself instead of re-emerging glibc. -' > /etc/locale.gen -cat /usr/share/i18n/SUPPORTED >> /etc/locale.gen -/usr/sbin/locale-gen - # Configuring layman mkdir /etc/portage/repos.conf/ mkdir /var/lib/layman/