From 3ab773f8b6972829a2977ab440c71cb72e9f7394 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Fri, 24 Apr 2020 15:57:12 +0800 Subject: [PATCH] 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 --- meta-stx/recipes-core/stx-ha/sm.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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() { -- 2.16.6