From 601480d44333eda8673df8f8ecb2980f797c9eb9 Mon Sep 17 00:00:00 2001 From: zhuyan Date: Sun, 19 Sep 2021 16:03:40 +0800 Subject: [PATCH] add shadow pam.d files to release Signed-off-by: zhuyan --- meta-openeuler/recipes-core/shadow/shadow.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-openeuler/recipes-core/shadow/shadow.inc b/meta-openeuler/recipes-core/shadow/shadow.inc index 75945a2e139..666231dd2b2 100644 --- a/meta-openeuler/recipes-core/shadow/shadow.inc +++ b/meta-openeuler/recipes-core/shadow/shadow.inc @@ -70,8 +70,8 @@ SRC_URI = "file://shadow/shadow-4.8.1.tar.xz" LIC_FILES_CHKSUM="file://COPYING;md5=ed80ff1c2b40843cf5768e5229cf16e5" -PAM_SRC_URI = "file://pam.d" -SRC_URI_EXTRA = "file://pam.d/chfn \ +#PAM_SRC_URI = "file://pam.d" +SRC_URI += "file://pam.d/chfn \ file://login_defs_pam.sed \ file://pam.d/chpasswd \ file://pam.d/chsh \ @@ -152,6 +152,7 @@ do_install_append() { fi install -d ${D}${sbindir} ${D}${base_sbindir} ${D}${base_bindir} + cp ${WORKDIR}/pam.d/* ${D}${sysconfdir}/pam.d/ # Move binaries to the locations we want rm ${D}${sbindir}/vigr -- Gitee