summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/oem-all
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-03-18 14:50:26 +0000
committerFrancois Pons <fpons@mandriva.com>2003-03-18 14:50:26 +0000
commit217025b6c9c34de69eb5a05c070d56f60c81943e (patch)
tree9434dacd8dcdd6ad1f770199d4a43435c8007c9c /rescue/tree/etc/oem-all
parent78a0575a53bb659c681b3eb3e7fda8576c634e86 (diff)
downloaddrakx-217025b6c9c34de69eb5a05c070d56f60c81943e.tar
drakx-217025b6c9c34de69eb5a05c070d56f60c81943e.tar.gz
drakx-217025b6c9c34de69eb5a05c070d56f60c81943e.tar.bz2
drakx-217025b6c9c34de69eb5a05c070d56f60c81943e.tar.xz
drakx-217025b6c9c34de69eb5a05c070d56f60c81943e.zip
added lookup into isolinux/alt0 if possible
Diffstat (limited to 'rescue/tree/etc/oem-all')
-rwxr-xr-xrescue/tree/etc/oem-all3
1 files changed, 3 insertions, 0 deletions
diff --git a/rescue/tree/etc/oem-all b/rescue/tree/etc/oem-all
index d1a71d4ea..f4aa357d0 100755
--- a/rescue/tree/etc/oem-all
+++ b/rescue/tree/etc/oem-all
@@ -370,6 +370,9 @@ mkdir "/hd/boot";
if (-e "/cdrom/oem/vmlinuz" && -e "/cdrom/oem/all.rdz") {
system "cp", "-a", "/cdrom/oem/vmlinuz", "/hd/boot/vmlinuz";
system "cp", "-a", "/cdrom/oem/all.rdz", "/hd/boot/all.rdz";
+} elsif (-e "/cdrom/isolinux/alt0/vmlinuz" && -e "/cdrom/isolinux/alt0/all.rdz") {
+ system "cp", "-a", "/cdrom/isolinux/alt0/vmlinuz", "/hd/boot/vmlinuz";
+ system "cp", "-a", "/cdrom/isolinux/alt0/all.rdz", "/hd/boot/all.rdz";
} elsif (-e "/cdrom/boot/vmlinuz" && -e "/cdrom/boot/hd.rdz") {
system "cp", "-a", "/cdrom/boot/vmlinuz", "/hd/boot/vmlinuz";
system "cp", "-a", "/cdrom/boot/hd.rdz", "/hd/boot/all.rdz";