summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/net-tools
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2011-08-05 09:53:37 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-05 17:43:34 +0100
commite3bdc689f2b73e4e901bdc49a1bade42520cf8d8 (patch)
tree89bafd8538fee03878ab7bb3854795fa9b16913e /meta/recipes-extended/net-tools
parent999a84bdb3694ae9871ed1d400f3906c6727e435 (diff)
downloadpoky-e3bdc689f2b73e4e901bdc49a1bade42520cf8d8.tar.gz
SRC_URI: Using BPN instaed of PN.
[YOCTO #1333] In multilib cases, PN has the prefix of MLPREFIX. It is not correct to use PN in SRC_URI. We should use the pruned BPN instead. (From OE-Core rev: ce94fa29b81bebaaee8058f0600e111832d638f2) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/net-tools')
-rw-r--r--meta/recipes-extended/net-tools/net-tools_1.60-23.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/net-tools/net-tools_1.60-23.bb b/meta/recipes-extended/net-tools/net-tools_1.60-23.bb
index 41041aad6d..213fb6075c 100644
--- a/meta/recipes-extended/net-tools/net-tools_1.60-23.bb
+++ b/meta/recipes-extended/net-tools/net-tools_1.60-23.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
8PR = "r0" 8PR = "r0"
9 9
10SRC_URI = "${DEBIAN_MIRROR}/main/n/net-tools/net-tools_1.60.orig.tar.gz;name=tarball \ 10SRC_URI = "${DEBIAN_MIRROR}/main/n/net-tools/net-tools_1.60.orig.tar.gz;name=tarball \
11 ${DEBIAN_MIRROR}/main/n/net-tools/${PN}_${PV}.diff.gz;apply=no;name=patch \ 11 ${DEBIAN_MIRROR}/main/n/net-tools/${BPN}_${PV}.diff.gz;apply=no;name=patch \
12 file://net-tools-config.h \ 12 file://net-tools-config.h \
13 file://net-tools-config.make" 13 file://net-tools-config.make"
14 14
@@ -31,7 +31,7 @@ PARALLEL_MAKE = ""
31# up all previously applied patches in the start 31# up all previously applied patches in the start
32nettools_do_patch() { 32nettools_do_patch() {
33 cd ${S} 33 cd ${S}
34 patch -p1 < ${WORKDIR}/${PN}_${PV}.diff 34 patch -p1 < ${WORKDIR}/${BPN}_${PV}.diff
35 QUILT_PATCHES=${S}/debian/patches quilt push -a 35 QUILT_PATCHES=${S}/debian/patches quilt push -a
36 rm -rf ${S}/patches ${S}/.pc 36 rm -rf ${S}/patches ${S}/.pc
37} 37}