aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiu Jian <jian.liu@windriver.com>2014-11-18 10:54:41 +0800
committerArmin Kuster <akuster808@gmail.com>2014-12-26 17:51:01 -0800
commitc46d487b35f71ff4a9ecbc02ab17fde4ddd0a506 (patch)
tree9cc9754b1e0f9ec14de67bfcd730ce611571f679
parentad4734201b02f7acec08ad4571571e125d05b975 (diff)
downloadmeta-openembedded-contrib-c46d487b35f71ff4a9ecbc02ab17fde4ddd0a506.tar.gz
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@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
index 1bbb158d83..42f6e3a43e 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"