diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-04-09 15:06:53 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-10 13:32:01 +0100 |
commit | 5d3d7537dd866ebfa2e2673dd8991c63e9897e90 (patch) | |
tree | 3e7ae9bcd12581fc1629db34e9ac0e9d31a88534 | |
parent | c397384ef4d4ad453ee134319bfc2552ef3fb2fe (diff) | |
download | poky-5d3d7537dd866ebfa2e2673dd8991c63e9897e90.tar.gz |
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]
(From OE-Core rev: 7304874058011360070ab28f14423273aa99360e)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | 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 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" | |||
11 | 11 | ||
12 | RCONFLICTS_${PN} = "atd" | 12 | RCONFLICTS_${PN} = "atd" |
13 | RREPLACES_${PN} = "atd" | 13 | RREPLACES_${PN} = "atd" |
14 | PR = "r0" | 14 | PR = "r1" |
15 | 15 | ||
16 | SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \ | 16 | SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \ |
17 | file://configure.patch \ | 17 | file://configure.patch \ |
@@ -56,7 +56,7 @@ do_install () { | |||
56 | 56 | ||
57 | for feature in ${DISTRO_FEATURES}; do | 57 | for feature in ${DISTRO_FEATURES}; do |
58 | if [ "$feature" = "pam" ]; then | 58 | if [ "$feature" = "pam" ]; then |
59 | install -D -m 0644 ${WORKDIR}/${P}/pam.conf ${D}${sysconfdir}/pam.d/atd | 59 | install -D -m 0644 ${WORKDIR}/${BP}/pam.conf ${D}${sysconfdir}/pam.d/atd |
60 | break | 60 | break |
61 | fi | 61 | fi |
62 | done | 62 | done |