pmon refers to /usr/bin/systemctl for process respawning,
modify code to use /bin/systemctl instead.
Issue-ID: INF-95
Signed-off-by: Litao Gao <litao.gao@windriver.com>
Change-Id: If5e15314676268839fe57fec53a90b5027a8c4bf
}
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 \