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@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Robert Yang 2014-10-08 01:01:18 -07:00 committed by Martin Jansa
parent c8a670fea5
commit ecc1d76333

View File

@ -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() {