${UNPACKDIR}/${BP} is ${S} so use the correct variable.

Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org>
---
 meta/recipes-extended/at/at_3.2.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/at/at_3.2.5.bb 
b/meta/recipes-extended/at/at_3.2.5.bb
index 0162548d337..112d1c4adcb 100644
--- a/meta/recipes-extended/at/at_3.2.5.bb
+++ b/meta/recipes-extended/at/at_3.2.5.bb
@@ -70,7 +70,7 @@ do_install () {
        sed -i -e 's,@SBINDIR@,${sbindir},g' 
${D}${systemd_system_unitdir}/atd.service
 
        if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then
-               install -D -m 0644 ${UNPACKDIR}/${BP}/pam.conf 
${D}${sysconfdir}/pam.d/atd
+               install -D -m 0644 ${S}/pam.conf ${D}${sysconfdir}/pam.d/atd
        fi
         rm -f ${D}${datadir}/at/batch-job
 }
-- 
2.40.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#199279): 
https://lists.openembedded.org/g/openembedded-core/message/199279
Mute This Topic: https://lists.openembedded.org/mt/106112372/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to