From ecc1d76333d3dac3169281a40e50cb16af90cfc1 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Wed, 8 Oct 2014 01:01:18 -0700 Subject: 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 Signed-off-by: Martin Jansa --- 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 0b14d3cdf6..d3c643cec2 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() { -- cgit v1.2.3-54-g00ecf