From 217025b6c9c34de69eb5a05c070d56f60c81943e Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 18 Mar 2003 14:50:26 +0000 Subject: added lookup into isolinux/alt0 if possible --- rescue/tree/etc/oem | 3 +++ rescue/tree/etc/oem-all | 3 +++ 2 files changed, 6 insertions(+) (limited to 'rescue/tree') 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"; -- cgit v1.2.1