[oe-commits] Robert Yang : krb5: use BP for the tarball
git at git.openembedded.org
git at git.openembedded.org
Fri Oct 10 10:47:06 UTC 2014
Module: meta-openembedded.git
Branch: master
Commit: ecc1d76333d3dac3169281a40e50cb16af90cfc1
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=ecc1d76333d3dac3169281a40e50cb16af90cfc1
Author: Robert Yang <liezhi.yang at windriver.com>
Date: Wed Oct 8 01:01:18 2014 -0700
krb5: use BP for the tarball
Otherwise do_unpack failed when multilib:
tar (child): /path/to/lib32-krb5-1.12.2.tar.gz: Cannot open: No such file or directory
And do_patch error:
ERROR: Command Error: exit status: 1 Output:
Applying patch 0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch
can't find file to patch at input line 15
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/recipes-connectivity/krb5/krb5_1.12.2.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-connectivity/krb5/krb5_1.12.2.bb b/meta-oe/recipes-connectivity/krb5/krb5_1.12.2.bb
index 0b14d3c..d3c643c 100644
--- a/meta-oe/recipes-connectivity/krb5/krb5_1.12.2.bb
+++ b/meta-oe/recipes-connectivity/krb5/krb5_1.12.2.bb
@@ -32,7 +32,7 @@ SRC_URI = "http://web.mit.edu/kerberos/dist/${BPN}/${SHRT_VER}/${BP}-signed.tar
SRC_URI[md5sum] = "357f1312b7720a0a591e22db0f7829fe"
SRC_URI[sha256sum] = "09bd180107b5c2b3b7378c57c023fb02a103d4cac39d6f2dd600275d7a4f3744"
-S = "${WORKDIR}/${P}/src/"
+S = "${WORKDIR}/${BP}/src/"
PACKAGECONFIG ??= "openssl"
PACKAGECONFIG[libedit] = "--with-libedit,--without-libedit,libedit"
@@ -55,7 +55,7 @@ FILES_${PN}-dbg += "${libdir}/krb5/plugins/*/.debug"
krb5_do_unpack() {
# ${P}-signed.tar contains ${P}.tar.gz.asc and ${P}.tar.gz
- tar xzf ${WORKDIR}/${P}.tar.gz -C ${WORKDIR}/
+ tar xzf ${WORKDIR}/${BP}.tar.gz -C ${WORKDIR}/
}
python do_unpack() {
More information about the Openembedded-commits
mailing list