summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/dpkg
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:40:51 +0100
commite3634ec359a71c9858698cb597d23c05b1184d2e (patch)
tree133e7363e2f867b87239a48afffcdae8d8b2d677 /meta/recipes-devtools/dpkg
parent9e9331a4b859c4205c2a0406ab0224ac575e351b (diff)
downloadopenembedded-core-e3634ec359a71c9858698cb597d23c05b1184d2e.tar.gz
openembedded-core-e3634ec359a71c9858698cb597d23c05b1184d2e.tar.bz2
openembedded-core-e3634ec359a71c9858698cb597d23c05b1184d2e.zip
dpkg: Ensure target packages don't reference perlnative
Currently a load of scripts in ${bindir} start with: which is undesireable, this patch fixes that. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/dpkg')
-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 () {
rm ${D}${bindir}/update-alternatives
else
mv ${D}${bindir}/update-alternatives ${D}${sbindir}
+ sed -i -e 's|^#!.*${bindir}/perl-native.*/perl|#!/usr/bin/env perl|' ${D}${bindir}/dpkg-*
fi
}