summaryrefslogtreecommitdiffstats
path: root/rescue/make_rescue_img
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/make_rescue_img')
-rwxr-xr-xrescue/make_rescue_img7
1 files changed, 7 insertions, 0 deletions
diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img
index bd4778523..08e35e937 100755
--- a/rescue/make_rescue_img
+++ b/rescue/make_rescue_img
@@ -76,6 +76,13 @@ foreach (cat_("aliases")) {
symlink $dest, "$tmp$f";
}
+
+if (my ($LANGUAGE) = map { if_(/LANGUAGE_(.*)/, $1) } keys %ENV) {
+ substInFile {
+ $_ = "export LANGUAGE=$LANGUAGE\n" . "export LC_ALL=$LANGUAGE\n" if /^#LANGUAGE/;
+ } "$tmp/etc/rc.sysinit";
+}
+
if ($ENV{PARTIMAGE_RPM}) {
_ "rpm2cpio $ENV{PARTIMAGE_RPM} | (cd $tmp ; cpio -idu ./usr/sbin/partimage)";