Message ID | 20230424022701.2574063-1-soumya.sambu@windriver.com |
---|---|
State | New |
Headers | show |
Series | [meta-cgl,kirkstone,1/1] pacemaker: Remove build host path | expand |
Meregd, thanks. On 4/23/2023 7:27 PM, Soumya via lists.yoctoproject.org wrote: > File installed by pacemaker-cli-utils contains path of build host. > > Signed-off-by: Soumya <soumya.sambu@windriver.com> > --- > 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 " > > -=-=-=-=-=-=-=-=-=-=-=- > 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: yocto+owner@lists.yoctoproject.org > Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [jpuhlman@mvista.com] > -=-=-=-=-=-=-=-=-=-=-=- >
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 "
File installed by pacemaker-cli-utils contains path of build host. Signed-off-by: Soumya <soumya.sambu@windriver.com> --- meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb | 6 ++++++ 1 file changed, 6 insertions(+)