From: Jackie Huang Date: Fri, 24 Apr 2020 07:57:12 +0000 (+0800) Subject: stx-ha: fix the hardcoded binary path for sm X-Git-Tag: bronze-rc0~73 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=3ab773f8b6972829a2977ab440c71cb72e9f7394;p=pti%2Frtp.git stx-ha: fix the hardcoded binary path for sm - Fix the hardcoded binary path for sm macros - Remove a useless commented line Issus-ID: INF-30 Signed-off-by: Jackie Huang Change-Id: I12048550e120e59d99b2bbeeb5c60988533cbfd9 --- diff --git a/meta-stx/recipes-core/stx-ha/sm.inc b/meta-stx/recipes-core/stx-ha/sm.inc index b59d416..c19b496 100644 --- a/meta-stx/recipes-core/stx-ha/sm.inc +++ b/meta-stx/recipes-core/stx-ha/sm.inc @@ -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() {