diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-26 15:34:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-28 21:51:52 +0100 |
commit | 72928abdfc00af2a7a5fac27f82e23e5de8efc4b (patch) | |
tree | f9c6da4163d32b416bebcf5b4d6601bd4255dde2 | |
parent | 0d3a864b12cb44b0ea1c2d47694d97974f2852c9 (diff) | |
download | poky-72928abdfc00af2a7a5fac27f82e23e5de8efc4b.tar.gz |
util-linux: Ensure perl scripts reference the correct perl
Without this change the perl path from the build system is used.
(From OE-Core rev: 18ad3a84dacc0d6c107b56874bb23d2a3c0a429f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/util-linux/util-linux_2.19.1.bb | 6 |
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 d6d6f9b97d..5b327cbaf4 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 @@ | |||
1 | MAJOR_VERSION = "2.19" | 1 | MAJOR_VERSION = "2.19" |
2 | PR = "r4" | 2 | PR = "r5" |
3 | require util-linux.inc | 3 | require util-linux.inc |
4 | 4 | ||
5 | # note that `lscpu' is under GPLv3+ | 5 | # note that `lscpu' is under GPLv3+ |
@@ -44,3 +44,7 @@ addtask remove_lscpu before do_configure after do_patch | |||
44 | # we need to disable it for older versions | 44 | # we need to disable it for older versions |
45 | EXTRA_OECONF += "ac_cv_func_fallocate=no" | 45 | EXTRA_OECONF += "ac_cv_func_fallocate=no" |
46 | EXTRA_OECONF_virtclass-native += "--disable-fallocate --disable-use-tty-group" | 46 | EXTRA_OECONF_virtclass-native += "--disable-fallocate --disable-use-tty-group" |
47 | |||
48 | do_install_append () { | ||
49 | sed -i -e '1s,.*,#!${bindir}/env perl,' ${D}${bindir}/chkdupexe | ||
50 | } | ||