[oe] [PATCH 11/27] lvm2: add lvm.con to CONFFILES

Otavio Salvador otavio at ossystems.com.br
Sat Dec 27 19:27:00 UTC 2014


There is a typo in the short log. *conf*.

On Sat, Dec 27, 2014 at 3:21 PM, Armin Kuster <akuster808 at gmail.com> wrote:
> 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
>



-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-devel mailing list