From 4d10aaf6a86b4760ea3d27f26a56e0d07388e30d Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 5 Feb 2009 15:46:43 +0000 Subject: [PATCH] -Fix problem where mknb failed to set up PPC structure properly git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/mknb.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/mknb.pm b/xCAT-server/lib/xcat/plugins/mknb.pm index 05f63d16d..4532b0255 100644 --- a/xCAT-server/lib/xcat/plugins/mknb.pm +++ b/xCAT-server/lib/xcat/plugins/mknb.pm @@ -118,6 +118,11 @@ sub process_request { } chmod(0644,"$tftpdir/pxelinux.0"); } + } elsif ($arch =~ /ppc/) { + mkpath("$tftpdir/etc"); + if (! -r "$tftpdir/yaboot") { + $callback->({error=>["Unable to locate yaboot to boot ppc clients, install yaboot-xcat"],errorcode=>[1]}); + } } my $dopxe=0; foreach (keys %{$hexnets}) {