pacemaker: Remove build host path
PATCH 1/1 pacemaker: Remove build host path
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(+)
meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb +6 -0
@@ -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 "
Signature · 1 line
2.40.0
Meregd, thanks.
Quoted 33 lines · Soumya via lists.yoctoproject.org
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(+)meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb +6
-1@@ -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 " -=-=-=-=-=-=-=-=-=-=-=-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/2167262
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 2 lines
Jeremy Puhlman [email protected]