-Prefer BOOTIF capabale mboot.c32 when available
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e5eab882d0
commit
cb1501c3c1
@ -2372,7 +2372,11 @@ sub mknetboot {
|
||||
push @reqmods,"mod.tgz";
|
||||
$mods{"mod.tgz"}=1;
|
||||
}
|
||||
copy("$srcdir/mboot.c32", $dest);
|
||||
if (-r $::XCATROOT/share/xcat/netboot/syslinux/mboot.c32) { #prefer xCAT patched mboot.c32 with BOOTIF for mboot
|
||||
copy("$::XCATROOT/share/xcat/netboot/syslinux/", $dest);
|
||||
} else {
|
||||
copy("$srcdir/mboot.c32", $dest);
|
||||
}
|
||||
$donetftp{$osver,$arch,$profile} = 1;
|
||||
}
|
||||
my $tp = "xcat/netboot/$osver/$arch/$shortprofname";
|
||||
|
Loading…
Reference in New Issue
Block a user