From 4b191ea471dd5898fbdd40a04d902e687ab884d7 Mon Sep 17 00:00:00 2001 From: mxi1 Date: Thu, 28 Jan 2010 08:03:19 +0000 Subject: [PATCH] -bug 2935472 is fixed; for sles11 sp1, yaboot will be copied from the installation repos git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/sles.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/sles.pm b/xCAT-server/lib/xcat/plugins/sles.pm index 12d591e78..0974173ea 100644 --- a/xCAT-server/lib/xcat/plugins/sles.pm +++ b/xCAT-server/lib/xcat/plugins/sles.pm @@ -548,8 +548,8 @@ sub mkinstall { copy("$pkgdir/1/suseboot/inst64", "/tftpboot/xcat/$os/$arch"); - #special case for sles 11 - if ( $os eq 'sles11' and -r "$pkgdir/1/suseboot/yaboot") + #special case for sles 11 and 11.x + if ( $os =~ /sles11/ and -r "$pkgdir/1/suseboot/yaboot") { copy("$pkgdir/1/suseboot/yaboot", "/tftpboot/"); }