File installed by pacemaker-cli-utils contains path of build host.
Signed-off-by: Soumya <[email protected]>
---
meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb
b/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb
index 2b4f96d..c3fdff3 100644
--- a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb
+++ b/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb
@@ -84,6 +84,12 @@ do_install:append() {
do
sed -i "s:${RECIPE_SYSROOT_NATIVE}::g" $temdir
done
+
+ hostdir=$(grep -Rn ${HOSTTOOLS_DIR} ${D}/* | awk -F: '{print $1}' | uniq)
+ for tmpdir in $hostdir
+ do
+ sed -i "s:${HOSTTOOLS_DIR}::g" $tmpdir
+ done
}
PACKAGES:prepend = "${PN}-cli-utils ${PN}-libs ${PN}-cluster-libs ${PN}-remote
"
--
2.40.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59764): https://lists.yoctoproject.org/g/yocto/message/59764
Mute This Topic: https://lists.yoctoproject.org/mt/98462814/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-