From: Zhang Peng Date: Thu, 26 Mar 2026 12:22:30 +0000 (+0800) Subject: texinfo: fix texindex awk path on target X-Git-Tag: yocto-6.0_M3~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6deace5d6603483683eaceb074ec8b1d44d51697;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git texinfo: fix texindex awk path on target The sed command in do_install strips ${HOSTTOOLS_DIR} from the awk path in texindex, but misses the trailing slash, turning "${HOSTTOOLS_DIR}/awk" into "/awk" instead of "awk". This causes a runtime error on target: /bin/texindex: line 116: /awk: No such file or directory Add the trailing slash to the sed pattern so the result is the bare "awk" command, resolved via $PATH at runtime. Signed-off-by: Zhang Peng Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/texinfo/texinfo_7.3.bb b/meta/recipes-extended/texinfo/texinfo_7.3.bb index dbf47a79ca..fae4e510b4 100644 --- a/meta/recipes-extended/texinfo/texinfo_7.3.bb +++ b/meta/recipes-extended/texinfo/texinfo_7.3.bb @@ -61,7 +61,7 @@ do_install:append() { install -p -m644 ${S}/doc/texinfo.tex ${S}/doc/txi-??.tex ${D}${datadir}/${tex_texinfo} sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/texi2any ${D}${bindir}/pod2texi sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${datadir}/texi2any/load_txi_modules - sed -i -e 's,${HOSTTOOLS_DIR},,' ${D}${bindir}/texindex + sed -i -e 's,${HOSTTOOLS_DIR}/,,' ${D}${bindir}/texindex } do_install:append:class-native() {