stx-ha: fix the hardcoded binary path for sm
[pti/rtp.git] / meta-stx / recipes-core / stx-ha / sm.inc
index b59d416..c19b496 100644 (file)
@@ -24,10 +24,12 @@ RDEPENDS_sm += " \
        chkconfig \
        mtce-pmon \
        "
-#      aaa_base
 
 do_configure_append () {
-       :
+       # fix the hardcoded path
+       sed -i -e "s|/usr/local/sbin|${sbindir}|" \
+               ${S}/service-mgmt/sm-common/src/sm_types.h \
+               ${S}/service-mgmt/sm-common/src/sm_watchdog_nfs.c
 }
 
 do_compile_append() {