diff options
author | Francois Pons <fpons@mandriva.com> | 2003-03-18 14:50:26 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-03-18 14:50:26 +0000 |
commit | 217025b6c9c34de69eb5a05c070d56f60c81943e (patch) | |
tree | 9434dacd8dcdd6ad1f770199d4a43435c8007c9c | |
parent | 78a0575a53bb659c681b3eb3e7fda8576c634e86 (diff) | |
download | drakx-217025b6c9c34de69eb5a05c070d56f60c81943e.tar drakx-217025b6c9c34de69eb5a05c070d56f60c81943e.tar.gz drakx-217025b6c9c34de69eb5a05c070d56f60c81943e.tar.bz2 drakx-217025b6c9c34de69eb5a05c070d56f60c81943e.tar.xz drakx-217025b6c9c34de69eb5a05c070d56f60c81943e.zip |
added lookup into isolinux/alt0 if possible
-rwxr-xr-x | rescue/tree/etc/oem | 3 | ||||
-rwxr-xr-x | rescue/tree/etc/oem-all | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem index 62e25cf23..bf31cbda7 100755 --- a/rescue/tree/etc/oem +++ b/rescue/tree/etc/oem @@ -357,6 +357,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"; 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"; |