summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-26 15:34:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-28 21:51:36 +0100
commit18ad3a84dacc0d6c107b56874bb23d2a3c0a429f (patch)
treec5f02c43ede4a6c11ae77dd185153d041e6adf97
parentfeff6030091d519a0738e2a5db47654dcd13ef13 (diff)
downloadopenembedded-core-18ad3a84dacc0d6c107b56874bb23d2a3c0a429f.tar.gz
openembedded-core-18ad3a84dacc0d6c107b56874bb23d2a3c0a429f.tar.bz2
openembedded-core-18ad3a84dacc0d6c107b56874bb23d2a3c0a429f.tar.xz
openembedded-core-18ad3a84dacc0d6c107b56874bb23d2a3c0a429f.zip
util-linux: Ensure perl scripts reference the correct perl
Without this change the perl path from the build system is used. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/util-linux/util-linux_2.19.1.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-core/util-linux/util-linux_2.19.1.bb b/meta/recipes-core/util-linux/util-linux_2.19.1.bb
index d6d6f9b97..5b327cbaf 100644
--- a/meta/recipes-core/util-linux/util-linux_2.19.1.bb
+++ b/meta/recipes-core/util-linux/util-linux_2.19.1.bb
@@ -1,5 +1,5 @@
MAJOR_VERSION = "2.19"
-PR = "r4"
+PR = "r5"
require util-linux.inc
# note that `lscpu' is under GPLv3+
@@ -44,3 +44,7 @@ addtask remove_lscpu before do_configure after do_patch
# we need to disable it for older versions
EXTRA_OECONF += "ac_cv_func_fallocate=no"
EXTRA_OECONF_virtclass-native += "--disable-fallocate --disable-use-tty-group"
+
+do_install_append () {
+ sed -i -e '1s,.*,#!${bindir}/env perl,' ${D}${bindir}/chkdupexe
+}