commit 5710f9ff65cd675de69ba505e39dee6daaa3529c
Author: Matthew Miller <mattdm(a)mattdm.org>
Date: Fri Nov 14 10:19:21 2014 -0500
make the cloud base lang hacks line up with the same filenames as in the docker image
fedora-cloud-base.ks | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/fedora-cloud-base.ks b/fedora-cloud-base.ks
index 5a539a7..d2595c8 100644
--- a/fedora-cloud-base.ks
+++ b/fedora-cloud-base.ks
@@ -127,7 +127,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"
Show replies by date