[Buildroot] [PATCH 1/1] package/lvm2: drop BR2_PACKAGE_LVM2_LVMETAD

Yann E. MORIN yann.morin.1998 at free.fr
Mon May 17 07:44:59 UTC 2021


Fabrice, All,

On 2021-05-16 22:27 +0200, Fabrice Fontaine spake thusly:
> lvmetad has been dropped since version 2.03.00 and
> https://github.com/lvmteam/lvm2/commit/117160b27e510dceb1ed6acf995115c040acd88d
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  Config.in.legacy       |  6 ++++++
>  package/lvm2/Config.in | 17 -----------------
>  package/lvm2/lvm2.mk   |  6 ------
>  3 files changed, 6 insertions(+), 23 deletions(-)
> 
> diff --git a/Config.in.legacy b/Config.in.legacy
> index ce6aeed87d..39a44f3026 100644
> --- a/Config.in.legacy
> +++ b/Config.in.legacy
> @@ -146,6 +146,12 @@ endif
>  
>  comment "Legacy options removed in 2021.05"
>  
> +config BR2_PACKAGE_LVM2_LVMETAD
> +	bool "lvm2 lvmetad removed"
> +	select BR2_LEGACY
> +	help
> +	  The lvm2 lvmetad was removed upstream.
> +
>  config BR2_PACKAGE_MONKEY
>  	bool "monkey package removed"
>  	select BR2_LEGACY
> diff --git a/package/lvm2/Config.in b/package/lvm2/Config.in
> index a9c5c453fc..de5b972e99 100644
> --- a/package/lvm2/Config.in
> +++ b/package/lvm2/Config.in
> @@ -47,23 +47,6 @@ config BR2_PACKAGE_LVM2_APP_LIBRARY
>  comment "lvm2 application library needs a glibc or uClibc toolchain"
>  	depends on BR2_TOOLCHAIN_USES_MUSL
>  
> -config BR2_PACKAGE_LVM2_LVMETAD
> -	bool "install lvmetad"
> -	depends on !BR2_TOOLCHAIN_USES_MUSL # lvm2-app-library
> -	select BR2_PACKAGE_LVM2_APP_LIBRARY
> -	help
> -	  Install lvmetad
> -
> -	  The lvmetad daemon caches LVM metadata so that LVM commands
> -	  can read metadata from the cache rather than scanning disks.
> -	  This can be an advantage because scanning disks is time
> -	  consuming and may interfere with the normal work of the
> -	  system.  lvmetad can be a disadvantage when disk event
> -	  notifications from the system are unreliable.
> -
> -comment "lvmetad daemon needs a glibc or uClibc toolchain"
> -	depends on BR2_TOOLCHAIN_USES_MUSL
> -
>  endif
>  
>  comment "lvm2 needs a toolchain w/ threads, dynamic library"
> diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk
> index 1194044537..84ec75530a 100644
> --- a/package/lvm2/lvm2.mk
> +++ b/package/lvm2/lvm2.mk
> @@ -61,12 +61,6 @@ else
>  LVM2_CONF_OPTS += --disable-applib
>  endif
>  
> -ifeq ($(BR2_PACKAGE_LVM2_LVMETAD),y)
> -LVM2_CONF_OPTS += --enable-lvmetad
> -else
> -LVM2_CONF_OPTS += --disable-lvmetad
> -endif
> -
>  ifeq ($(BR2_INIT_SYSTEMD),y)
>  LVM2_INSTALL_TARGET_OPTS += install_systemd_units install_systemd_generators
>  endif
> -- 
> 2.30.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list