]> code.ossystems Code Review - openembedded-core.git/commit
libpam: avoid overwritting editable files during package updating
authorJian Liu <jian.liu@windriver.com>
Fri, 21 Nov 2014 09:17:13 +0000 (17:17 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Dec 2014 12:22:41 +0000 (12:22 +0000)
commit078fedcc0b7d50e7001c587968319f1b45b3c1ba
tree37acb0ea9978fd72b9b17f3da8d1564162ccd6d9
parenta265af666a80298ccca0eb80d6f15ca3d4be8b57
libpam: avoid overwritting editable files during package updating

Use CONFFILES to mark editable files as such,
  /etc/pam.d/common-session
  /etc/pam.d/common-auth
  /etc/pam.d/common-password
  /etc/pam.d/common-session-noninteractive
  /etc/pam.d/common-account

If there is no %config micro before the file name in the spec file,
this file will be overwritten after updating package.
This will make our settings lost.

Signed-off-by: Jian Liu <jian.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/pam/libpam_1.1.6.bb