This patch changes P to BP to address where a file is installed
from when building with PAM enabled and using multi-lib.

[YOCTO #2224]

Signed-off-by: Saul Wold <s...@linux.intel.com>
---
 meta/recipes-extended/at/at_3.1.13.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/at/at_3.1.13.bb 
b/meta/recipes-extended/at/at_3.1.13.bb
index bcc08aa..9af3569 100644
--- a/meta/recipes-extended/at/at_3.1.13.bb
+++ b/meta/recipes-extended/at/at_3.1.13.bb
@@ -11,7 +11,7 @@ PAM_DEPS = "libpam libpam-runtime pam-plugin-env 
pam-plugin-limits"
 
 RCONFLICTS_${PN} = "atd"
 RREPLACES_${PN} = "atd"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \
     file://configure.patch \
@@ -56,7 +56,7 @@ do_install () {
 
        for feature in ${DISTRO_FEATURES}; do
                if [ "$feature" = "pam" ]; then
-                       install -D -m 0644 ${WORKDIR}/${P}/pam.conf 
${D}${sysconfdir}/pam.d/atd
+                       install -D -m 0644 ${WORKDIR}/${BP}/pam.conf 
${D}${sysconfdir}/pam.d/atd
                        break
                fi
        done
-- 
1.7.7.6


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to