mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 01:26:38 +00:00
from sles11.3, suseboot/linux64 and suseboot/initrd64 should be used in diskful installation instead of suseboot/inst64
This commit is contained in:
parent
394debbd9d
commit
10a21d048e
@ -1070,6 +1070,11 @@ sub mkinstall
|
||||
and -r "$pkgdir/1/boot/ppc64le/linux"
|
||||
and -r "$pkgdir/1/boot/ppc64le/initrd"
|
||||
)
|
||||
or (
|
||||
$arch eq "ppc64"
|
||||
and -r "$pkgdir/1/suseboot/linux64"
|
||||
and -r "$pkgdir/1/suseboot/initrd64"
|
||||
)
|
||||
or ($arch =~ /ppc/ and -r "$pkgdir/1/suseboot/inst64")
|
||||
)
|
||||
{
|
||||
@ -1120,6 +1125,16 @@ sub mkinstall
|
||||
xCAT::MsgUtils->trace($verbose_on_off,"d","sles->mkinstall: copy initrd.img and linux to $tftppath");
|
||||
}
|
||||
}
|
||||
elsif($arch eq "ppc64"
|
||||
and -r "$pkgdir/1/suseboot/linux64"
|
||||
and -r "$pkgdir/1/suseboot/initrd64"){
|
||||
unless ($noupdateinitrd) {
|
||||
copy("$pkgdir/1/suseboot/linux64", "$tftppath");
|
||||
copy("$pkgdir/1/suseboot/initrd64", "$tftppath");
|
||||
@dd_drivers = &insert_dd($callback, $os, $arch,"$tftppath/initrd64" ,"$tftppath/linux64", undef, $driverupdatesrc, $netdrivers, $osupdir, $ignorekernelchk);
|
||||
xCAT::MsgUtils->trace($verbose_on_off,"d","sles->mkinstall: copy initrd64 and linux64 to $tftppath");
|
||||
}
|
||||
}
|
||||
elsif ($arch =~ /ppc/)
|
||||
{
|
||||
unless ($noupdateinitrd) {
|
||||
@ -1318,6 +1333,22 @@ sub mkinstall
|
||||
kcmdline => $kcmdline
|
||||
}
|
||||
);
|
||||
}
|
||||
elsif ($arch eq "ppc64"
|
||||
and -r "$tftppath/linux64"
|
||||
and -r "$tftppath/initrd64")
|
||||
{
|
||||
$kernelpath = "$rtftppath/linux64";
|
||||
$initrdpath = "$rtftppath/initrd64";
|
||||
xCAT::MsgUtils->trace($verbose_on_off,"d","sles->mkinstall: kcmdline=$kcmdline kernal=$kernelpath initrd=$initrdpath");
|
||||
$bptab->setNodeAttribs(
|
||||
$node,
|
||||
{
|
||||
kernel => $kernelpath,
|
||||
initrd => $initrdpath,
|
||||
kcmdline => $kcmdline
|
||||
}
|
||||
);
|
||||
}
|
||||
elsif ($arch =~ /ppc/)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user