summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrescue/tree/etc/oem5
1 files changed, 4 insertions, 1 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem
index e821500b6..90e960cb9 100755
--- a/rescue/tree/etc/oem
+++ b/rescue/tree/etc/oem
@@ -232,7 +232,7 @@ $ENV{DURING_INSTALL} = 1;
$ENV{RPM_INSTALL_LANG} = "$flang:$lang";
$ENV{LD_LIBRARY_PATH} = "/usr/X11R6/lib";
$ENV{SECURE_LEVEL} = 2;
-foreach (qw(/etc /etc/sysconfig /var /var/lib /var/lib/rpm /proc)) {
+foreach (qw(/etc /etc/sysconfig /etc/rpm /var /var/lib /var/lib/rpm /proc)) {
mkdir "/mnt/$_";
}
system "mount", "-t", "proc", "proc", "/mnt/proc";
@@ -244,6 +244,9 @@ print F "LANG=$lang\n";
print F "LANGUAGE=$flang:$lang\n";
print F "LC_MESSAGES=$flang\n";
close F;
+open F, ">/mnt/etc/rpm/macros";
+print F "%_install_langs $flang:$lang\n";
+close F;
system "rpm", "--root", "/mnt", "--initdb";
#- copy and install from each cd image.