Change-Id: I249d9b0f173096e7a883049f95206aacc1e7e0d7
Reviewed-on: http://photon-jenkins.eng.vmware.com/999
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: Sharath George
... | ... |
@@ -34,4 +34,10 @@ rpm --import /etc/pki/rpm-gpg/* |
34 | 34 |
#TODO: This should be removed, systemd should be able to create this file |
35 | 35 |
/usr/bin/touch /var/run/utmp |
36 | 36 |
#/sbin/locale-gen.sh |
37 |
+ |
|
38 |
+#locale-gen.sh needs /usr/share/locale/locale.alias which is shipped with |
|
39 |
+# glibc-lang rpm, in some photon installations glibc-lang rpm is not installed |
|
40 |
+# by default. Call localedef directly here to define locale environment. |
|
41 |
+/usr/bin/localedef -c -i en_US -f UTF-8 en_US.UTF-8 |
|
42 |
+ |
|
37 | 43 |
exit 0 |