[oe] [meta-oe] lvm2: files will be over written when updating using rpm
Martin Jansa
martin.jansa at gmail.com
Wed Nov 19 15:08:14 UTC 2014
On Tue, Nov 18, 2014 at 10:54:41AM +0800, Jian Liu wrote:
> 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.
This isn't for meta-oe (missing meta-oe/ directory prefix)
> Signed-off-by: Jian Liu <jian.liu at windriver.com>
> ---
> recipes-support/lvm2/lvm2.inc | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/recipes-support/lvm2/lvm2.inc b/recipes-support/lvm2/lvm2.inc
> index 1bbb158..42f6e3a 100644
> --- a/recipes-support/lvm2/lvm2.inc
> +++ b/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.8.5.2.233.g932f7e4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20141119/ed5ae195/attachment-0002.sig>
More information about the Openembedded-devel
mailing list