summaryrefslogtreecommitdiffstats
path: root/rescue/tree
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/tree')
-rwxr-xr-xrescue/tree/etc/oem7
1 files changed, 6 insertions, 1 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem
index faf625c29..c19bfde1a 100755
--- a/rescue/tree/etc/oem
+++ b/rescue/tree/etc/oem
@@ -232,13 +232,18 @@ $ENV{DURING_INSTALL} = 1;
$ENV{RPM_INSTALL_LANG} = "$flang:$lang";
$ENV{LD_LIBRARY_PATH} = "/usr/X11R6/lib";
$ENV{SECURE_LEVEL} = 2;
-foreach (qw(/etc /var /var/lib /var/lib/rpm /proc)) {
+foreach (qw(/etc /etc/sysconfig /var /var/lib /var/lib/rpm /proc)) {
mkdir "/mnt/$_";
}
system "mount", "-t", "proc", "proc", "/mnt/proc";
open F, ">/mnt/etc/fstab";
print F "/dev/$hd$root / ext2 defaults 1 1\n";
close F;
+open F, ">/mnt/etc/sysconfig/i18n";
+print F "LANG=$lang\n";
+print F "LANGUAGE=$flang:$lang\n";
+print F "LC_MESSAGES=$flang";
+close F;
system "rpm", "--root", "/mnt", "--initdb";
#- copy and install from each cd image.