]> code.ossystems Code Review - openembedded-core.git/commitdiff
at: Fix origin location of install pam.conf from from ${P} -> ${BP}
authorSaul Wold <sgw@linux.intel.com>
Mon, 9 Apr 2012 22:06:53 +0000 (15:06 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Apr 2012 12:16:00 +0000 (13:16 +0100)
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>
meta/recipes-extended/at/at_3.1.13.bb

index bcc08aa2f1e4cb9fb720b2601dc2d642b24faf5d..9af35690f985b62b515f21cba02a7950e1810864 100644 (file)
@@ -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