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