make the cloud base lang hacks line up with the same filenames as in the docker image

This commit is contained in:
Matthew Miller 2014-11-14 10:19:21 -05:00
parent f3e0beb135
commit ddb2862b52
1 changed files with 4 additions and 1 deletions

View File

@ -122,7 +122,10 @@ localedef --list-archive | grep -v ^en_US | xargs localedef --delete-from-archiv
# this will kill a live system (since it's memory mapped) but should be safe offline
mv -f /usr/lib/locale/locale-archive /usr/lib/locale/locale-archive.tmpl
build-locale-archive
echo '%_install_langs C:en:en_US:en_US.UTF-8' >> /etc/rpm/macros.install_langs
echo '%_install_langs C:en:en_US:en_US.UTF-8' >> /etc/rpm/macros.image-language-conf
awk '(NF==0&&!done){print "override_install_langs='$LANG'";done=1}{print}' \
< /etc/yum.conf > /etc/yum.conf.new
mv /etc/yum.conf.new /etc/yum.conf
echo -n "Getty fixes"