X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-stx%2Frecipes-core%2Fstx-ha%2Fsm.inc;h=d8488e2db5a54a43f59209e1946840de3853f1a5;hb=1756c781843f5b2bfba86d71ca0d875ff8c89196;hp=b59d41693627283f75efca5cd601006fd6dc236c;hpb=57fdea704bd62af847872c40508f00aa1d7cac60;p=pti%2Frtp.git diff --git a/meta-stx/recipes-core/stx-ha/sm.inc b/meta-stx/recipes-core/stx-ha/sm.inc index b59d416..d8488e2 100644 --- a/meta-stx/recipes-core/stx-ha/sm.inc +++ b/meta-stx/recipes-core/stx-ha/sm.inc @@ -24,10 +24,15 @@ RDEPENDS_sm += " \ chkconfig \ mtce-pmon \ " -# aaa_base do_configure_append () { - : + cd ${S}/service-mgmt/sm/src + oe_runmake clean + + # 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() {