aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-04-09 15:06:53 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-10 13:16:00 +0100
commit7304874058011360070ab28f14423273aa99360e (patch)
tree8dfe66dd9bf3134aceb76d964f47b38cc86d8396
parent19d034963cc16392a12db144e04c55cbab245576 (diff)
downloadopenembedded-core-contrib-7304874058011360070ab28f14423273aa99360e.tar.gz
openembedded-core-contrib-7304874058011360070ab28f14423273aa99360e.tar.bz2
openembedded-core-contrib-7304874058011360070ab28f14423273aa99360e.zip
at: Fix origin location of install pam.conf from from ${P} -> ${BP}
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 <sgw@linux.intel.com>
-rw-r--r--meta/recipes-extended/at/at_3.1.13.bb4
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 bcc08aa2f1..9af35690f9 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