From 564fd6d61f450ebb24f88093dfed12eba7ed2201 Mon Sep 17 00:00:00 2001 From: linggao Date: Fri, 31 Oct 2008 12:56:58 +0000 Subject: [PATCH] fix xcatd starting on AIX git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2432 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-rmc/xCAT-rmc.spec | 7 ++++++- xCAT-server/xCAT-server.spec | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/xCAT-rmc/xCAT-rmc.spec b/xCAT-rmc/xCAT-rmc.spec index 986d5a24e..61a2ef91b 100644 --- a/xCAT-rmc/xCAT-rmc.spec +++ b/xCAT-rmc/xCAT-rmc.spec @@ -62,6 +62,11 @@ rm -rf $RPM_BUILD_ROOT fi %else #restart the xcatd - $XCATROOT/sbin/xcatstart + XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/xcatstart %endif + + + + + diff --git a/xCAT-server/xCAT-server.spec b/xCAT-server/xCAT-server.spec index 46e505608..a8d67a0c6 100644 --- a/xCAT-server/xCAT-server.spec +++ b/xCAT-server/xCAT-server.spec @@ -163,7 +163,7 @@ fi if [ "$1" -gt "1" ]; then #only on upgrade for AIX... #migration issue for monitoring XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/chtab filename=monitorctrl.pm notification -d - $XCATROOT/sbin/xcatstart + XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/xcatstart fi %endif