[oe] [PATCH 11/27] lvm2: add lvm.con to CONFFILES
Armin Kuster
akuster808 at gmail.com
Sat Dec 27 17:21:58 UTC 2014
From: Liu Jian <jian.liu at windriver.com>
* 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"
--
1.9.1
More information about the Openembedded-devel
mailing list