From c9f074bb4de8e9ec12d4c4102e5a6369a3bd66ff Mon Sep 17 00:00:00 2001 From: mxi1 Date: Fri, 13 Aug 2010 09:09:06 +0000 Subject: [PATCH] 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 --- xCAT-server/share/xcat/netboot/sles/genimage | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/xCAT-server/share/xcat/netboot/sles/genimage b/xCAT-server/share/xcat/netboot/sles/genimage index a7551e8c5..c66a28f68 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -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/"); }