moving locale-gen phase into the end of post-upgrade script

This commit is contained in:
mudler
2015-10-07 15:18:31 +02:00
parent 0378f17668
commit 04ff7f73e5
2 changed files with 4 additions and 3 deletions
-3
View File
@@ -14,9 +14,6 @@ RUN rsync -av "rsync://89.238.64.78/gentoo-portage/licenses/" "/usr/portage/lice
RUN /bin/bash /post-upgrade.sh && \
rm -rf /post-upgrade.sh
# Regenerate all locales
RUN locale-gen
# Set environment variables.
ENV HOME /root
+4
View File
@@ -89,6 +89,10 @@ rm -rf /etc/ssh/*_key*
# TODO: check if the issue persists with systemd 202.
echo FONT=LatArCyrHeb-16 > /etc/vconsole.conf
# Regenerating locales
locale-gen
# remove LDAP keys
rm -f /etc/openldap/ssl/ldap.pem /etc/openldap/ssl/ldap.key \
/etc/openldap/ssl/ldap.csr /etc/openldap/ssl/ldap.crt