All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/lvm2: drop BR2_PACKAGE_LVM2_LVMETAD
@ 2021-05-16 20:27 Fabrice Fontaine
  2021-05-17  7:44 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-05-16 20:27 UTC (permalink / raw)
  To: buildroot

lvmetad has been dropped since version 2.03.00 and
https://github.com/lvmteam/lvm2/commit/117160b27e510dceb1ed6acf995115c040acd88d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] package/lvm2: drop BR2_PACKAGE_LVM2_LVMETAD
  2021-05-16 20:27 [Buildroot] [PATCH 1/1] package/lvm2: drop BR2_PACKAGE_LVM2_LVMETAD Fabrice Fontaine
@ 2021-05-17  7:44 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2021-05-17  7:44 UTC (permalink / raw)
  To: buildroot

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@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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-17  7:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-16 20:27 [Buildroot] [PATCH 1/1] package/lvm2: drop BR2_PACKAGE_LVM2_LVMETAD Fabrice Fontaine
2021-05-17  7:44 ` Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.