X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-stx%2Frecipes-core%2Fstx-metal%2Fmtce.inc;h=9a9fb57bd522cf4f672f61648a75c659e22f72e5;hb=1756c781843f5b2bfba86d71ca0d875ff8c89196;hp=d1daf7e7c7f5006f83c6c5670e2e976f0e50033f;hpb=f7c9ef9782604a647de87a89b38ace11f4ff2f5b;p=pti%2Frtp.git diff --git a/meta-stx/recipes-core/stx-metal/mtce.inc b/meta-stx/recipes-core/stx-metal/mtce.inc index d1daf7e..9a9fb57 100644 --- a/meta-stx/recipes-core/stx-metal/mtce.inc +++ b/meta-stx/recipes-core/stx-metal/mtce.inc @@ -42,6 +42,8 @@ do_configure_prepend () { } do_compile_prepend () { + # use sed to correct the path of systemctl + sed -i -e 's|${bindir}/systemctl|${base_bindir}/systemctl|' ${S}/mtce/src/pmon/pmonHdlr.cpp cd ${S}/mtce/src/ oe_runmake -e VER=1 VER_MJR=1 INCLUDES=" -I. -I../alarm -I../heartbeat -I../maintenance \ -I../hostw -I../public -I../smash -I../common -I../hwmon \