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>
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 \
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