From 7cd4258049b4de423402b02fa587ec97b573a100 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 29 Apr 2021 21:18:08 -0700 Subject: libpam: Provide needed env for tst-pam_start_confdir ptest tst-pam_start_confdir needs a file called confdir and it should reside in directory pointed by srcdir env variable, therefore copy confdir into ptest package and export srcdir before running the ptests (From OE-Core rev: 149d84b7eba8240737a301d0fd75b69e8a767854) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-extended/pam/libpam_1.5.1.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-extended/pam/libpam_1.5.1.bb') diff --git a/meta/recipes-extended/pam/libpam_1.5.1.bb b/meta/recipes-extended/pam/libpam_1.5.1.bb index 4363e16b9b..f0c8caaac2 100644 --- a/meta/recipes-extended/pam/libpam_1.5.1.bb +++ b/meta/recipes-extended/pam/libpam_1.5.1.bb @@ -154,6 +154,7 @@ do_install_ptest() { if [ ${PTEST_ENABLED} = "1" ]; then mkdir -p ${D}${PTEST_PATH}/tests install -m 0755 ${B}/tests/.libs/* ${D}${PTEST_PATH}/tests + install -m 0644 ${S}/tests/confdir ${D}${PTEST_PATH}/tests fi } -- cgit v1.2.3-54-g00ecf