mtce-control: fix the hardcoded path for hbsAgent

- fix the hardcoded path for hbsAgent

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
This commit is contained in:
Jackie Huang 2020-04-26 13:38:47 +08:00 committed by Babak Sarashki
parent 97eb9a9a01
commit 7b315cb812
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/mtce-control/src/scripts/hbsAgent b/mtce-control/src/scripts/hbsAgent
index d05177d..13443d0 100644
--- a/mtce-control/src/scripts/hbsAgent
+++ b/mtce-control/src/scripts/hbsAgent
@@ -20,7 +20,7 @@
. /etc/init.d/functions
DAEMON_NAME="hbsAgent"
-DAEMON="/usr/local/bin/${DAEMON_NAME}"
+DAEMON="${bindir}/${DAEMON_NAME}"
PIDFILE="/var/run/${DAEMON_NAME}.pid"
VIRT_TOOL='virt-what'

View File

@ -6,7 +6,9 @@ S = "${S_DIR}/mtce-control/src/"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRC_URI += "file://0001-mtce-control-dont-install-empty-directory-unless-nee.patch;striplevel=3"
SRC_URI += "file://0001-mtce-control-dont-install-empty-directory-unless-nee.patch;striplevel=3 \
file://mtce-control-fix-hardcoded-path-for-hbsAgent.patch;striplevel=3 \
"
RDEPENDS_${PN}_append = " \
bash \