[oe-commits] Liu Jian : lvm2: add lvm.con to CONFFILES

git at git.openembedded.org git at git.openembedded.org
Mon Dec 29 09:11:28 UTC 2014


Module: meta-openembedded.git
Branch: dizzy-next
Commit: c46d487b35f71ff4a9ecbc02ab17fde4ddd0a506
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=c46d487b35f71ff4a9ecbc02ab17fde4ddd0a506

Author: Liu Jian <jian.liu at windriver.com>
Date:   Tue Nov 18 10:54:41 2014 +0800

lvm2: add lvm.con to CONFFILES

* Files will be over written when updating using rpm.

* 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.liu at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Armin Kuster <akuster808 at gmail.com>

---

 meta-oe/recipes-support/lvm2/lvm2.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
index 1bbb158..42f6e3a 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -48,3 +48,5 @@ FILES_${PN} += "${libdir}/device-mapper/*.so ${base_libdir}/udev"
 FILES_${PN}-dbg += "${libdir}/device-mapper/.debug"
 
 RDEPENDS_${PN} = "bash"
+
+CONFFILES_${PN} += "${sysconfdir}/lvm/lvm.conf"



More information about the Openembedded-commits mailing list