in order to support diskless SLES11 on P7, all the file in /lib64/ will be copied to /tmp/initrd.$$/lib64/

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mxi1 2010-08-13 09:09:06 +00:00
parent 858940b6af
commit c9f074bb4d

View File

@ -1073,12 +1073,7 @@ END
# cross-platfrom support on power6&7 etc
# ldd can't handle such one scenario: mn is power6, the target platform is power7
if ($arch =~ /ppc64/) {
my @archs = ("power6", "power6x", "power7", "ppc-cell-be");
foreach my $arch (@archs) {
if(-d "$rootimg_dir/lib64/$arch") {
system("cp -a $rootimg_dir/lib64/$arch /tmp/xcatinitrd.$$/lib64/");
}
}
system("cp -a -r $rootimg_dir/lib64/* /tmp/xcatinitrd.$$/lib64/");
}