Copy in mboot.c32 from custom path if applicable

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12771 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-05-17 17:19:48 +00:00
parent e254505337
commit 264668c85f

View File

@ -4437,9 +4437,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");