Patchwork [12/21] dpkg-native: Fix native perl path

login
register
mail settings
Submitter Mark Hatle
Date May 29, 2013, 3:09 p.m.
Message ID <1369840203-21898-13-git-send-email-mark.hatle@windriver.com>
Download mbox | patch
Permalink /patch/50727/
State Accepted
Commit 0f99d7fed094a59d2c5c01c83ea38dc852aadf6b
Headers show

Comments

Mark Hatle - May 29, 2013, 3:09 p.m.
From: Ming Liu <ming.liu@windriver.com>

The path to the native perl was incorrect leading to rootfs failures. This
patch corrects that problem, it's a complementary fix for commit:04432446.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
---
 meta/recipes-devtools/dpkg/dpkg.inc | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index 6197777..5fcf9bc 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -18,6 +18,9 @@  PARALLEL_MAKE = ""
 
 inherit autotools gettext perlnative pkgconfig
 
+export PERL = "${bindir}/perl"
+PERL_class-native = "${STAGING_BINDIR_NATIVE}/perl-native/perl"
+
 export PERL_LIBDIR = "${libdir}/perl"
 PERL_LIBDIR_class-native = "${libdir}/perl-native/perl"