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>
This commit is contained in:
parent
c397384ef4
commit
5d3d7537dd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue