libhtml-tree-perl, libmodule-build-tiny-perl: Drop obsolete TMPDIR scrubbing

oe-core 3c2bb7bce1 ("cpan_build: disable .packlist and html doc") moved
--create_packlist=0 into cpan_build.bbclass and disabled html doc
generation there as well. Neither .packlist nor the html docs are
generated anymore, so the do_install:append() hooks that sed'ed TMPDIR out
of them now run find(1) over paths that no longer exist and hand sed an
empty argument list:

  find: '.../image/usr/share/doc/perl/html/site/lib/HTML/': No such file or directory
  sed: no input files
  WARNING: exit code 4 from a shell command.

Remove the now dead hooks.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
(cherry picked from commit 9dc293d14d)
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
This commit is contained in:
Khem Raj
2026-08-26 07:13:01 +05:30
committed by Anuj Mittal
parent 4ddd1e3945
commit 14282a02be
2 changed files with 0 additions and 14 deletions
@@ -25,13 +25,6 @@ export PERL_USE_UNSAFE_INC = "1"
DEPENDS += "libmodule-build-perl-native \
"
do_install:append() {
sed -i \
-e 's|${TMPDIR}||g' \
`find ${D}/usr/share/doc/perl/html/site/lib/HTML/ -type f` \
`find ${D}/usr/lib/perl5 -type f -name .packlist`
}
RPROVIDES:${PN} = " libhtml-element-perl \
libhtml-tree-assubs-perl \
libhtml-tree-perl \
@@ -21,13 +21,6 @@ S = "${UNPACKDIR}/Module-Build-Tiny-${PV}"
inherit cpan_build ptest-perl
do_install:append() {
sed -i \
-e 's|${TMPDIR}||g' \
`find ${D}/usr/lib/perl5 -type f -name .packlist`
}
RDEPENDS:${PN} += " \
libextutils-config-perl \
libextutils-helpers-perl \