summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/oem
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-16 15:50:08 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-16 15:50:08 +0000
commit329629421f2e860d7fe7149a244690947d3b6481 (patch)
tree14144597117322b2013e61934362390fb99b4652 /rescue/tree/etc/oem
parent7ef4581618add3ca6528e6e30ed29d2bf2b3ce67 (diff)
downloaddrakx-329629421f2e860d7fe7149a244690947d3b6481.tar
drakx-329629421f2e860d7fe7149a244690947d3b6481.tar.gz
drakx-329629421f2e860d7fe7149a244690947d3b6481.tar.bz2
drakx-329629421f2e860d7fe7149a244690947d3b6481.tar.xz
drakx-329629421f2e860d7fe7149a244690947d3b6481.zip
now fixed menu problems.
Diffstat (limited to 'rescue/tree/etc/oem')
-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.