summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/dpkg')
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc11
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index 09bfbbcd09..7f4f620783 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -2,7 +2,7 @@ DESCRIPTION = "Package maintenance system for Debian."
2LICENSE = "GPLv2.0+" 2LICENSE = "GPLv2.0+"
3SECTION = "base" 3SECTION = "base"
4 4
5INC_PR = "r16" 5INC_PR = "r17"
6 6
7SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2 \ 7SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2 \
8 file://ignore_extra_fields.patch" 8 file://ignore_extra_fields.patch"
@@ -56,6 +56,15 @@ do_install_append () {
56 fi 56 fi
57} 57}
58 58
59# Create a wrapper for the perl script to avoid the "bad interpreter"
60# error when the tmpdir is longer than 150.
61do_install_append_virtclass-native () {
62 tmp=`find ${D}${bindir} -type f -exec grep -m 1 -l '#!/.*/perl-native/perl' {} \;`
63 for i in $tmp; do
64 create_wrapper $i ${STAGING_BINDIR_NATIVE}/perl-native/perl
65 done
66}
67
59PROV = "virtual/update-alternatives" 68PROV = "virtual/update-alternatives"
60PROV_virtclass-native = "" 69PROV_virtclass-native = ""
61 70