Copy in mboot.c32 from custom path if applicable

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-05-17 17:19:37 +00:00
parent b1c3e1326a
commit 7806922c3e

View File

@ -4500,9 +4500,11 @@ sub mkcommonboot {
}
if ($osver =~ /esxi4/ and -r "$::XCATROOT/share/xcat/netboot/syslinux/mboot.c32") { #prefer xCAT patched mboot.c32 with BOOTIF for mboot
copy("$::XCATROOT/share/xcat/netboot/syslinux/mboot.c32", $dest);
} else {
} elsif (-r "$custprofpath/mboot.c32") {
copy("$custprofpath/mboot.c32", $dest);
} elsif (-r "$srcdir/mboot.c32") {
copy("$srcdir/mboot.c32", $dest);
}
}
if (-f "$srcdir/efiboot.img") {
copy("$srcdir/efiboot.img",$dest);
print("$srcdir/efi");