summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg/dpkg.inc
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-02 17:41:54 +0100
commit82a55f7808ba635f8ffc841cf9f3e7b675f91aea (patch)
treec4f8a08bd7b85e673c883bdbf1d9b757652a1e62 /meta/recipes-devtools/dpkg/dpkg.inc
parentc6a769eb7e5cc433af92f4e0786fbb2515464a02 (diff)
downloadpoky-82a55f7808ba635f8ffc841cf9f3e7b675f91aea.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 rev: e3634ec359a71c9858698cb597d23c05b1184d2e) 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>
Diffstat (limited to 'meta/recipes-devtools/dpkg/dpkg.inc')
-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