[meta-perl][PATCH 2/2] libhtml-tree-perl, libmodule-build-tiny-perl: Drop obsolete TMPDIR scrubbing
Khem Raj <[email protected]> Fri, 31 Jul 2026 11:01:57 -0700
| Newsgroups | org.openembedded.lists.openembedded-devel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>
---
meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.07.bb | 7 -------
.../libmodule/libmodule-build-tiny-perl_0.053.bb | 7 -------
2 files changed, 14 deletions(-)
diff --git a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.07.bb b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.07.bb
index 5b2db6747e..7d224dcad9 100644
--- a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.07.bb
+++ b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.07.bb
@@ -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 \
diff --git a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.053.bb b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.053.bb
index 4597c9bbe8..9fc32f3c95 100644
--- a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.053.bb
+++ b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.053.bb
@@ -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 \