From 30cc0d23c3189a67b176707651b3e6305bcb9300 Mon Sep 17 00:00:00 2001 From: =?utf8?q?K=C3=A9vin=20THIERRY?= Date: Wed, 25 Jun 2014 16:00:10 +0200 Subject: [PATCH] Remove shadow pam rules that are not in Tizen MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Remove upstream pam rules that are added in Poky but are not present in Tizen Common. Creating rules to replace those ones in Tizen Common could be a good idea. Note that shadow is used in the Yocto build instead of pwdutils in Tizen Common. Change-Id: I9620e4267d20d5693b38c2d03af70c1de6f20a51 Signed-off-by: Kévin THIERRY --- recipes-extended/shadow/shadow_4.1.4.3.bbappend | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/recipes-extended/shadow/shadow_4.1.4.3.bbappend b/recipes-extended/shadow/shadow_4.1.4.3.bbappend index 77ad159..03833d3 100644 --- a/recipes-extended/shadow/shadow_4.1.4.3.bbappend +++ b/recipes-extended/shadow/shadow_4.1.4.3.bbappend @@ -16,3 +16,17 @@ PAM_SRC_URI += "file://pam.d/login \ file://pam.d/su \ file://pam.d/su-l \ " + +do_install_append() { + # Remove rules that are not present in Tizen Common + rm -f \ + ${D}${sysconfdir}/pam.d/chgpasswd \ + ${D}${sysconfdir}/pam.d/chpasswd \ + ${D}${sysconfdir}/pam.d/groupadd \ + ${D}${sysconfdir}/pam.d/groupdel \ + ${D}${sysconfdir}/pam.d/groupmems \ + ${D}${sysconfdir}/pam.d/groupmod \ + ${D}${sysconfdir}/pam.d/newusers \ + ${D}${sysconfdir}/pam.d/userdel \ + ${D}${sysconfdir}/pam.d/usermod +} -- 2.7.4