diff options
| -rw-r--r-- | meta/recipes-devtools/dpkg/dpkg.inc | 11 |
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." | |||
| 2 | LICENSE = "GPLv2.0+" | 2 | LICENSE = "GPLv2.0+" |
| 3 | SECTION = "base" | 3 | SECTION = "base" |
| 4 | 4 | ||
| 5 | INC_PR = "r16" | 5 | INC_PR = "r17" |
| 6 | 6 | ||
| 7 | SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2 \ | 7 | SRC_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. | ||
| 61 | do_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 | |||
| 59 | PROV = "virtual/update-alternatives" | 68 | PROV = "virtual/update-alternatives" |
| 60 | PROV_virtclass-native = "" | 69 | PROV_virtclass-native = "" |
| 61 | 70 | ||
