From a4ba90ca4ad9db82bd2916c3c19e31d4959ed8dc Mon Sep 17 00:00:00 2001 From: linggao Date: Mon, 18 Aug 2008 20:04:40 +0000 Subject: [PATCH] moved confGang from xCAT-server package to xCAT package git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/monitoring/gangliamon.pm | 2 +- xCAT-server/xCAT-server.spec | 2 -- {xCAT-server/sbin => xCAT/postscripts}/confGang | 0 3 files changed, 1 insertion(+), 3 deletions(-) rename {xCAT-server/sbin => xCAT/postscripts}/confGang (100%) diff --git a/xCAT-server/lib/xcat/monitoring/gangliamon.pm b/xCAT-server/lib/xcat/monitoring/gangliamon.pm index 9f582825c..702632654 100755 --- a/xCAT-server/lib/xcat/monitoring/gangliamon.pm +++ b/xCAT-server/lib/xcat/monitoring/gangliamon.pm @@ -353,7 +353,7 @@ sub confGmond my $node = join(',',@children); print "the children are: $node \n"; print "copying into CP node \n"; - my $res_cp = `XCATBYPASS=Y $::XCATROOT/bin/xdcp $node $::XCATROOT/sbin/confGang /tmp 2>&1`; + my $res_cp = `XCATBYPASS=Y $::XCATROOT/bin/xdcp $node /install/postscripts/confGang /tmp 2>&1`; if($?) { #openinf if ? if($callback) diff --git a/xCAT-server/xCAT-server.spec b/xCAT-server/xCAT-server.spec index e328f5911..b64bcb1ed 100644 --- a/xCAT-server/xCAT-server.spec +++ b/xCAT-server/xCAT-server.spec @@ -112,8 +112,6 @@ mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/xCAT-server cp LICENSE.html $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/xCAT-server chmod 644 $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/xCAT-server/* #echo $RPM_BUILD_ROOT %{prefix} -#cp sbin/confGang /install/postscripts -#chmod 755 /install/postscripts/confGang %clean rm -rf $RPM_BUILD_ROOT diff --git a/xCAT-server/sbin/confGang b/xCAT/postscripts/confGang similarity index 100% rename from xCAT-server/sbin/confGang rename to xCAT/postscripts/confGang