Skip to contentSkip to conversation

libmodule-build-tiny-perl: fix reference to TMPDIR

PATCH New Jason Schonberg 1 participant 1 message Jan 28

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libmodule-build-tiny-perl: fix reference to TMPDIR

This fix is found in the recipe on the master branch.

The warning was seen in build https://autobuilder.yoctoproject.org/valkyrie/?#/builders/81/builds/1279

---
 .../libmodule/libmodule-build-tiny-perl_0.047.bb           | 7 +++++++
 1 file changed, 7 insertions(+)
meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.047.bb +7 -0
index db765b88f1..2e7e742321 100644
@@ -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 \
Signature · 1 line
2.43.0