[oe-commits] Liu Jian : lvm2: add lvm.con to CONFFILES
git at git.openembedded.org
git at git.openembedded.org
Mon Nov 24 11:03:08 UTC 2014
Module: meta-openembedded.git
Branch: master
Commit: 9e3b3456c75c6f0940c1c642c9f1fbda989793ea
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=9e3b3456c75c6f0940c1c642c9f1fbda989793ea
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>
---
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