diff mbox series

[meta-perl,2/2] libmodule-build-tiny-perl: fix QA Issue: TMPDIR [buildpaths]

Message ID 20241028061153.2165048-3-schonm@gmail.com
State Accepted
Headers show
Series [meta-perl,1/2] libhtml-tree-perl: fix QA Issue: TMPDIR [buildpaths] | expand

Commit Message

Jason Schonberg Oct. 28, 2024, 6:07 a.m. UTC
Signed-off-by: Jason Schonberg <schonm@gmail.com>
---
 .../libmodule/libmodule-build-tiny-perl_0.048.bb           | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb
index a662b4540..bab9c5c95 100644
--- a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb
+++ b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb
@@ -21,6 +21,13 @@  S = "${WORKDIR}/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 \