summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-30 13:41:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-22 17:14:00 +0100
commita21415db4e907b3eb7623eb4cb69fde724594107 (patch)
tree378303b6293cc0f8542b762d33b3b3f9ead63a3a
parent0f9afc21e12a8de2dbeadf726a278566b5e69364 (diff)
downloadpoky-a21415db4e907b3eb7623eb4cb69fde724594107.tar.gz
dpkg: Ensure target packages don't reference perlnative
Currently a load of scripts in ${bindir} start with: which is undesireable, this patch fixes that. (From OE-Core master rev: e3634ec359a71c9858698cb597d23c05b1184d2e) (From OE-Core rev: 5a77c73c48d6fab7abe853c01e262c7019e4a03a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index 92a5adcdcd..d773fbdc5a 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -47,6 +47,7 @@ do_install_append () {
47 rm ${D}${bindir}/update-alternatives 47 rm ${D}${bindir}/update-alternatives
48 else 48 else
49 mv ${D}${bindir}/update-alternatives ${D}${sbindir} 49 mv ${D}${bindir}/update-alternatives ${D}${sbindir}
50 sed -i -e 's|^#!.*${bindir}/perl-native.*/perl|#!/usr/bin/env perl|' ${D}${bindir}/dpkg-*
50 fi 51 fi
51} 52}
52 53