summaryrefslogtreecommitdiff
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:30:12 +0100
commitce94fa29b81bebaaee8058f0600e111832d638f2 (patch)
treeb561652836bd30f4293914686e24a1b7240d7426 /meta/recipes-extended/net-tools
parentfbb7ecaf9b49d2d7570e6440fe84b4046ec08fd2 (diff)
downloadopenembedded-core-ce94fa29b81bebaaee8058f0600e111832d638f2.tar.gz
openembedded-core-ce94fa29b81bebaaee8058f0600e111832d638f2.tar.bz2
openembedded-core-ce94fa29b81bebaaee8058f0600e111832d638f2.tar.xz
openembedded-core-ce94fa29b81bebaaee8058f0600e111832d638f2.zip
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. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
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 41041aad6..213fb6075 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 \
PR = "r0"
SRC_URI = "${DEBIAN_MIRROR}/main/n/net-tools/net-tools_1.60.orig.tar.gz;name=tarball \
- ${DEBIAN_MIRROR}/main/n/net-tools/${PN}_${PV}.diff.gz;apply=no;name=patch \
+ ${DEBIAN_MIRROR}/main/n/net-tools/${BPN}_${PV}.diff.gz;apply=no;name=patch \
file://net-tools-config.h \
file://net-tools-config.make"
@@ -31,7 +31,7 @@ PARALLEL_MAKE = ""
# up all previously applied patches in the start
nettools_do_patch() {
cd ${S}
- patch -p1 < ${WORKDIR}/${PN}_${PV}.diff
+ patch -p1 < ${WORKDIR}/${BPN}_${PV}.diff
QUILT_PATCHES=${S}/debian/patches quilt push -a
rm -rf ${S}/patches ${S}/.pc
}