If there is no %config micro before the file in the spec file, this file will be over-written after updating this package using rpm. This will make our settings lost.
Signed-off-by: Jian Liu <jian....@windriver.com> --- meta/recipes-extended/pam/libpam_1.1.6.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta/recipes-extended/pam/libpam_1.1.6.bb b/meta/recipes-extended/pam/libpam_1.1.6.bb index 3b6d514..b3b39da 100644 --- a/meta/recipes-extended/pam/libpam_1.1.6.bb +++ b/meta/recipes-extended/pam/libpam_1.1.6.bb @@ -163,3 +163,9 @@ python do_pam_sanity () { addtask pam_sanity before do_configure BBCLASSEXTEND = "nativesdk native" + +CONFFILES_${PN}-runtime += "${sysconfdir}/pam.d/common-session" +CONFFILES_${PN}-runtime += "${sysconfdir}/pam.d/common-auth" +CONFFILES_${PN}-runtime += "${sysconfdir}/pam.d/common-password" +CONFFILES_${PN}-runtime += "${sysconfdir}/pam.d/common-session-noninteractive" +CONFFILES_${PN}-runtime += "${sysconfdir}/pam.d/common-account" -- 1.8.5.2.233.g932f7e4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core