From c46d487b35f71ff4a9ecbc02ab17fde4ddd0a506 Mon Sep 17 00:00:00 2001 From: Liu Jian Date: Tue, 18 Nov 2014 10:54:41 +0800 Subject: 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 Signed-off-by: Martin Jansa Signed-off-by: Armin Kuster --- 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 1bbb158d8..42f6e3a43 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" -- cgit v1.2.3-54-g00ecf