Skip to contentSkip to conversation

package/docker-engine: drop BR2_PACKAGE_LVM2_APP_LIBRARY

PATCH New Fabrice Fontaine 5 participants 14 messages May 17, 2021 – Jun 2, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/docker-engine: drop BR2_PACKAGE_LVM2_APP_LIBRARY

lvm2 app library is not needed to build devicemapper filesystem driver

---
 package/docker-engine/Config.in | 2 --
 1 file changed, 2 deletions(-)
package/docker-engine/Config.in +0 -2
index 357101f280..911cbfe428 100644
@@ -34,9 +34,7 @@ config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_DEVICEMAPPER
 	depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2
 	depends on BR2_USE_MMU # lvm2
 	depends on !BR2_STATIC_LIBS # lvm2
-	depends on !BR2_TOOLCHAIN_USES_MUSL # lvm2
 	select BR2_PACKAGE_LVM2
-	select BR2_PACKAGE_LVM2_APP_LIBRARY
 	help
 	  Build the devicemapper filesystem driver for Docker.
 
Signature · 1 line
2.30.2
#1 lore raw

PATCH 2/2 package/lvm2: drop BR2_PACKAGE_LVM2_APP_LIBRARY

The application library (liblvm2app) has been dropped since version 2.03.00 and
https://github.com/lvmteam/lvm2/commit/0d22b58172808f050abeacdb5d6a7b7132b91a8c

It should be noted that lvm2 support must be dropped from udisks until a bump to at least version 2.7.0 and
https://github.com/storaged-project/udisks/commit/4c0709a893be49a0db5b2839e4766621e2c1bb98

---
 Config.in.legacy         | 13 +++++++++++++
 package/lvm2/Config.in   | 11 -----------
 package/lvm2/lvm2.mk     |  7 -------
 package/udisks/Config.in | 15 ---------------
 package/udisks/udisks.mk |  6 +-----
 5 files changed, 14 insertions(+), 38 deletions(-)
Config.in.legacy +13 -0
index 39a44f3026..8683e01490 100644
@@ -146,6 +146,19 @@ endif
 
 comment "Legacy options removed in 2021.05"
 
+config BR2_PACKAGE_UDISKS_LVM2
+	bool "udisks lvm2 support removed"
+	select BR2_LEGACY
+	help
+	  The lvm2 support was removed because udisks < 2.7.0 still
+	  depends on lvm2 application library.
+
+config BR2_PACKAGE_LVM2_APP_LIBRARY
+	bool "lvm2 application library removed"
+	select BR2_LEGACY
+	help
+	  The lvm2 application library was removed upstream.
+
 config BR2_PACKAGE_LVM2_LVMETAD
 	bool "lvm2 lvmetad removed"
 	select BR2_LEGACY
package/lvm2/Config.in +0 -11
index de5b972e99..f8bcdffb38 100644
@@ -36,17 +36,6 @@ config BR2_PACKAGE_LVM2_STANDARD_INSTALL
 comment "lvm2 standard install needs a glibc or uClibc toolchain"
 	depends on BR2_TOOLCHAIN_USES_MUSL
 
-config BR2_PACKAGE_LVM2_APP_LIBRARY
-	bool "install application library"
-	# http://lists.busybox.net/pipermail/buildroot/2016-August/170592.html
-	depends on !BR2_TOOLCHAIN_USES_MUSL
-	select BR2_PACKAGE_LVM2_STANDARD_INSTALL
-	help
-	  Install application library (liblvm2app).
-
-comment "lvm2 application library needs a glibc or uClibc toolchain"
-	depends on BR2_TOOLCHAIN_USES_MUSL
-
 endif
 
 comment "lvm2 needs a toolchain w/ threads, dynamic library"
package/lvm2/lvm2.mk +0 -7
index 84ec75530a..224dbf5d54 100644
@@ -55,12 +55,6 @@ LVM2_INSTALL_STAGING_OPTS += install
 LVM2_INSTALL_TARGET_OPTS += install
 endif
 
-ifeq ($(BR2_PACKAGE_LVM2_APP_LIBRARY),y)
-LVM2_CONF_OPTS += --enable-applib
-else
-LVM2_CONF_OPTS += --disable-applib
-endif
-
 ifeq ($(BR2_INIT_SYSTEMD),y)
 LVM2_INSTALL_TARGET_OPTS += install_systemd_units install_systemd_generators
 endif
@@ -75,7 +69,6 @@ HOST_LVM2_CONF_OPTS = \
 	--enable-pkgconfig \
 	--disable-cmdlib \
 	--disable-dmeventd \
-	--disable-applib \
 	--disable-fsadm \
 	--disable-readline \
 	--disable-selinux
package/udisks/Config.in +0 -15
index efd3b619bf..9d3eb240e6 100644
@@ -31,21 +31,6 @@ config BR2_PACKAGE_UDISKS
 
 	  http://www.freedesktop.org/wiki/Software/udisks
 
-if BR2_PACKAGE_UDISKS
-
-config BR2_PACKAGE_UDISKS_LVM2
-	bool "lvm2 support"
-	# The lvm app library can't compile against musl
-	depends on BR2_TOOLCHAIN_USES_GLIBC
-	select BR2_PACKAGE_LVM2_APP_LIBRARY
-	help
-	  Enable LVM2 support
-
-comment "lvm2 support needs a glibc toolchain"
-	depends on !BR2_TOOLCHAIN_USES_GLIBC
-
-endif
-
 comment "udisks needs udev /dev management"
 	depends on BR2_USE_MMU
 	depends on !BR2_PACKAGE_HAS_UDEV
package/udisks/udisks.mk +1 -5
index af25c2b8e2..9f7a02e10c 100644
@@ -24,10 +24,6 @@ UDISKS_DEPENDENCIES = \
 	sg3_utils \
 	udev
 
-UDISKS_CONF_OPTS = --disable-remote-access --disable-man-pages
-
-ifeq ($(BR2_PACKAGE_UDISKS_LVM2),y)
-UDISKS_CONF_OPTS += --enable-lvm2
-endif
+UDISKS_CONF_OPTS = --disable-remote-access --disable-man-pages --disable-lvm2
 
 $(eval $(autotools-package))
Signature · 1 line
2.30.2
#2 lore raw

PATCH 2/2 package/lvm2: drop BR2_PACKAGE_LVM2_APP_LIBRARY

Fabrice, All,

+Adam for udisks and GOI... ;-]

On 2021-05-17 19:06 +0200, Fabrice Fontaine spake thusly:

Quoted 9 lines

The application library (liblvm2app) has been dropped since version 2.03.00 and
https://github.com/lvmteam/lvm2/commit/0d22b58172808f050abeacdb5d6a7b7132b91a8c

It should be noted that lvm2 support must be dropped from udisks until a bump to at least version 2.7.0 and
https://github.com/storaged-project/udisks/commit/4c0709a893be49a0db5b2839e4766621e2c1bb98

Applied to master, thanks.

I was a bit concerned that we dropped this support, but hinestly, we have udisks 1.0.5, from March 2014... So, to me, it's a minor annoyance if lvm2 support in udisks is dropped...

IIRC, Adam, did some work on udisks back when he was "toying" with GOI... Adam? ;-)

Regards,
Yann E. MORIN.

Quoted 128 lines
---
 Config.in.legacy         | 13 +++++++++++++
 package/lvm2/Config.in   | 11 -----------
 package/lvm2/lvm2.mk     |  7 -------
 package/udisks/Config.in | 15 ---------------
 package/udisks/udisks.mk |  6 +-----
 5 files changed, 14 insertions(+), 38 deletions(-)
Config.in.legacy +13 -0
index 39a44f3026..8683e01490 100644
@@ -146,6 +146,19 @@ endif
 
 comment "Legacy options removed in 2021.05"
 
+config BR2_PACKAGE_UDISKS_LVM2
+	bool "udisks lvm2 support removed"
+	select BR2_LEGACY
+	help
+	  The lvm2 support was removed because udisks < 2.7.0 still
+	  depends on lvm2 application library.
+
+config BR2_PACKAGE_LVM2_APP_LIBRARY
+	bool "lvm2 application library removed"
+	select BR2_LEGACY
+	help
+	  The lvm2 application library was removed upstream.
+
 config BR2_PACKAGE_LVM2_LVMETAD
 	bool "lvm2 lvmetad removed"
 	select BR2_LEGACY
package/lvm2/Config.in +0 -11
index de5b972e99..f8bcdffb38 100644
@@ -36,17 +36,6 @@ config BR2_PACKAGE_LVM2_STANDARD_INSTALL
 comment "lvm2 standard install needs a glibc or uClibc toolchain"
 	depends on BR2_TOOLCHAIN_USES_MUSL
 
-config BR2_PACKAGE_LVM2_APP_LIBRARY
-	bool "install application library"
-	# http://lists.busybox.net/pipermail/buildroot/2016-August/170592.html
-	depends on !BR2_TOOLCHAIN_USES_MUSL
-	select BR2_PACKAGE_LVM2_STANDARD_INSTALL
-	help
-	  Install application library (liblvm2app).
-
-comment "lvm2 application library needs a glibc or uClibc toolchain"
-	depends on BR2_TOOLCHAIN_USES_MUSL
-
 endif
 
 comment "lvm2 needs a toolchain w/ threads, dynamic library"
package/lvm2/lvm2.mk +0 -7
index 84ec75530a..224dbf5d54 100644
@@ -55,12 +55,6 @@ LVM2_INSTALL_STAGING_OPTS += install
 LVM2_INSTALL_TARGET_OPTS += install
 endif
 
-ifeq ($(BR2_PACKAGE_LVM2_APP_LIBRARY),y)
-LVM2_CONF_OPTS += --enable-applib
-else
-LVM2_CONF_OPTS += --disable-applib
-endif
-
 ifeq ($(BR2_INIT_SYSTEMD),y)
 LVM2_INSTALL_TARGET_OPTS += install_systemd_units install_systemd_generators
 endif
@@ -75,7 +69,6 @@ HOST_LVM2_CONF_OPTS = \
 	--enable-pkgconfig \
 	--disable-cmdlib \
 	--disable-dmeventd \
-	--disable-applib \
 	--disable-fsadm \
 	--disable-readline \
 	--disable-selinux
package/udisks/Config.in +0 -15
index efd3b619bf..9d3eb240e6 100644
@@ -31,21 +31,6 @@ config BR2_PACKAGE_UDISKS
 
 	  http://www.freedesktop.org/wiki/Software/udisks
 
-if BR2_PACKAGE_UDISKS
-
-config BR2_PACKAGE_UDISKS_LVM2
-	bool "lvm2 support"
-	# The lvm app library can't compile against musl
-	depends on BR2_TOOLCHAIN_USES_GLIBC
-	select BR2_PACKAGE_LVM2_APP_LIBRARY
-	help
-	  Enable LVM2 support
-
-comment "lvm2 support needs a glibc toolchain"
-	depends on !BR2_TOOLCHAIN_USES_GLIBC
-
-endif
-
 comment "udisks needs udev /dev management"
 	depends on BR2_USE_MMU
 	depends on !BR2_PACKAGE_HAS_UDEV
package/udisks/udisks.mk +1 -5
index af25c2b8e2..9f7a02e10c 100644
@@ -24,10 +24,6 @@ UDISKS_DEPENDENCIES = \
 	sg3_utils \
 	udev
 
-UDISKS_CONF_OPTS = --disable-remote-access --disable-man-pages
-
-ifeq ($(BR2_PACKAGE_UDISKS_LVM2),y)
-UDISKS_CONF_OPTS += --enable-lvm2
-endif
+UDISKS_CONF_OPTS = --disable-remote-access --disable-man-pages --disable-lvm2
 
 $(eval $(autotools-package))
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
#3 lore raw

PATCH 2/2 package/lvm2: drop BR2_PACKAGE_LVM2_APP_LIBRARY

Le lun. 17 mai 2021 ? 22:43, Yann E. MORIN <[email protected]> a ?crit :

Quoted 16 lines

Fabrice, All,

+Adam for udisks and GOI... ;-]

On 2021-05-17 19:06 +0200, Fabrice Fontaine spake thusly:

Quoted 9 lines

The application library (liblvm2app) has been dropped since version 2.03.00 and
https://github.com/lvmteam/lvm2/commit/0d22b58172808f050abeacdb5d6a7b7132b91a8c

It should be noted that lvm2 support must be dropped from udisks until a bump to at least version 2.7.0 and
https://github.com/storaged-project/udisks/commit/4c0709a893be49a0db5b2839e4766621e2c1bb98

Quoted 8 lines

Applied to master, thanks.

I was a bit concerned that we dropped this support, but hinestly, we have udisks 1.0.5, from March 2014... So, to me, it's a minor annoyance if lvm2 support in udisks is dropped...

IIRC, Adam, did some work on udisks back when he was "toying" with GOI... Adam? ;-)

We also have a patch to bump udisks from Giulio:
https://patchwork.ozlabs.org/project/buildroot/patch/20200217143030.5031-5-giulio.benetti at benettiengineering.com/ Perhaps, Giulio could also help us to bump udisks.

Quoted 135 lines

Regards,
Yann E. MORIN.

Quoted 124 lines
---
 Config.in.legacy         | 13 +++++++++++++
 package/lvm2/Config.in   | 11 -----------
 package/lvm2/lvm2.mk     |  7 -------
 package/udisks/Config.in | 15 ---------------
 package/udisks/udisks.mk |  6 +-----
 5 files changed, 14 insertions(+), 38 deletions(-)
Config.in.legacy +13 -0
index 39a44f3026..8683e01490 100644
@@ -146,6 +146,19 @@ endif
 
 comment "Legacy options removed in 2021.05"
 
+config BR2_PACKAGE_UDISKS_LVM2
+     bool "udisks lvm2 support removed"
+     select BR2_LEGACY
+     help
+       The lvm2 support was removed because udisks < 2.7.0 still
+       depends on lvm2 application library.
+
+config BR2_PACKAGE_LVM2_APP_LIBRARY
+     bool "lvm2 application library removed"
+     select BR2_LEGACY
+     help
+       The lvm2 application library was removed upstream.
+
 config BR2_PACKAGE_LVM2_LVMETAD
      bool "lvm2 lvmetad removed"
      select BR2_LEGACY
package/lvm2/Config.in +0 -11
index de5b972e99..f8bcdffb38 100644
@@ -36,17 +36,6 @@ config BR2_PACKAGE_LVM2_STANDARD_INSTALL
 comment "lvm2 standard install needs a glibc or uClibc toolchain"
      depends on BR2_TOOLCHAIN_USES_MUSL
 
-config BR2_PACKAGE_LVM2_APP_LIBRARY
-     bool "install application library"
-     # http://lists.busybox.net/pipermail/buildroot/2016-August/170592.html
-     depends on !BR2_TOOLCHAIN_USES_MUSL
-     select BR2_PACKAGE_LVM2_STANDARD_INSTALL
-     help
-       Install application library (liblvm2app).
-
-comment "lvm2 application library needs a glibc or uClibc toolchain"
-     depends on BR2_TOOLCHAIN_USES_MUSL
-
 endif
 
 comment "lvm2 needs a toolchain w/ threads, dynamic library"
package/lvm2/lvm2.mk +0 -7
index 84ec75530a..224dbf5d54 100644
@@ -55,12 +55,6 @@ LVM2_INSTALL_STAGING_OPTS += install
 LVM2_INSTALL_TARGET_OPTS += install
 endif
 
-ifeq ($(BR2_PACKAGE_LVM2_APP_LIBRARY),y)
-LVM2_CONF_OPTS += --enable-applib
-else
-LVM2_CONF_OPTS += --disable-applib
-endif
-
 ifeq ($(BR2_INIT_SYSTEMD),y)
 LVM2_INSTALL_TARGET_OPTS += install_systemd_units install_systemd_generators
 endif
@@ -75,7 +69,6 @@ HOST_LVM2_CONF_OPTS = \
      --enable-pkgconfig \
      --disable-cmdlib \
      --disable-dmeventd \
-     --disable-applib \
      --disable-fsadm \
      --disable-readline \
      --disable-selinux
package/udisks/Config.in +0 -15
index efd3b619bf..9d3eb240e6 100644
@@ -31,21 +31,6 @@ config BR2_PACKAGE_UDISKS
 
        http://www.freedesktop.org/wiki/Software/udisks
 
-if BR2_PACKAGE_UDISKS
-
-config BR2_PACKAGE_UDISKS_LVM2
-     bool "lvm2 support"
-     # The lvm app library can't compile against musl
-     depends on BR2_TOOLCHAIN_USES_GLIBC
-     select BR2_PACKAGE_LVM2_APP_LIBRARY
-     help
-       Enable LVM2 support
-
-comment "lvm2 support needs a glibc toolchain"
-     depends on !BR2_TOOLCHAIN_USES_GLIBC
-
-endif
-
 comment "udisks needs udev /dev management"
      depends on BR2_USE_MMU
      depends on !BR2_PACKAGE_HAS_UDEV
package/udisks/udisks.mk +1 -6
index af25c2b8e2..9f7a02e10c 100644
@@ -24,10 +24,6 @@ UDISKS_DEPENDENCIES = \
      sg3_utils \
      udev
 
-UDISKS_CONF_OPTS = --disable-remote-access --disable-man-pages
-
-ifeq ($(BR2_PACKAGE_UDISKS_LVM2),y)
-UDISKS_CONF_OPTS += --enable-lvm2
-endif
+UDISKS_CONF_OPTS = --disable-remote-access --disable-man-pages --disable-lvm2
 
 $(eval $(autotools-package))
--

2.30.2

Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

--
.-----------------.--------------------.------------------.--------------------.

Quoted 5 lines
|  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.  |

'------------------------------^-------^------------------^--------------------'

Best Regards,

Fabrice

#4 lore raw

PATCH 2/2 package/lvm2: drop BR2_PACKAGE_LVM2_APP_LIBRARY

Hi Fabrice, Adam, All,

Quoted 23 lines · Fabrice Fontaine

Le lun. 17 mai 2021 ? 22:43, Yann E. MORIN <[email protected]> a ?crit :

Quoted 22 lines

Fabrice, All,

+Adam for udisks and GOI... ;-]

On 2021-05-17 19:06 +0200, Fabrice Fontaine spake thusly:

Quoted 9 lines

The application library (liblvm2app) has been dropped since version 2.03.00 and
https://github.com/lvmteam/lvm2/commit/0d22b58172808f050abeacdb5d6a7b7132b91a8c

It should be noted that lvm2 support must be dropped from udisks until a bump to at least version 2.7.0 and
https://github.com/storaged-project/udisks/commit/4c0709a893be49a0db5b2839e4766621e2c1bb98

Applied to master, thanks.

I was a bit concerned that we dropped this support, but hinestly, we have udisks 1.0.5, from March 2014... So, to me, it's a minor annoyance if lvm2 support in udisks is dropped...

Quoted 5 lines
Quoted 2 lines

IIRC, Adam, did some work on udisks back when he was "toying" with GOI... Adam? ;-)

We also have a patch to bump udisks from Giulio:
https://patchwork.ozlabs.org/project/buildroot/patch/20200217143030.5031-5-giulio.benetti at benettiengineering.com/ Perhaps, Giulio could also help us to bump udisks.

I can try to re-bump since at the time I thought there were a lot of dependencies while Adam(if I recall correct) told me that GOI wasn't needed in libblock for example. So I'm retrying to bump with the minimum dependencies. Let's see if I'm able to do this.

Best regards

Signature · 2 lines
Giulio Benetti
Benetti Engineering sas
Quoted 144 lines
Quoted 135 lines

Regards,
Yann E. MORIN.

Quoted 124 lines
---
  Config.in.legacy         | 13 +++++++++++++
  package/lvm2/Config.in   | 11 -----------
  package/lvm2/lvm2.mk     |  7 -------
  package/udisks/Config.in | 15 ---------------
  package/udisks/udisks.mk |  6 +-----
  5 files changed, 14 insertions(+), 38 deletions(-)
Config.in.legacy +13 -0
index 39a44f3026..8683e01490 100644
@@ -146,6 +146,19 @@ endif
 
  comment "Legacy options removed in 2021.05"
 
+config BR2_PACKAGE_UDISKS_LVM2
+     bool "udisks lvm2 support removed"
+     select BR2_LEGACY
+     help
+       The lvm2 support was removed because udisks < 2.7.0 still
+       depends on lvm2 application library.
+
+config BR2_PACKAGE_LVM2_APP_LIBRARY
+     bool "lvm2 application library removed"
+     select BR2_LEGACY
+     help
+       The lvm2 application library was removed upstream.
+
  config BR2_PACKAGE_LVM2_LVMETAD
       bool "lvm2 lvmetad removed"
       select BR2_LEGACY
package/lvm2/Config.in +0 -11
index de5b972e99..f8bcdffb38 100644
@@ -36,17 +36,6 @@ config BR2_PACKAGE_LVM2_STANDARD_INSTALL
  comment "lvm2 standard install needs a glibc or uClibc toolchain"
       depends on BR2_TOOLCHAIN_USES_MUSL
 
-config BR2_PACKAGE_LVM2_APP_LIBRARY
-     bool "install application library"
-     # http://lists.busybox.net/pipermail/buildroot/2016-August/170592.html
-     depends on !BR2_TOOLCHAIN_USES_MUSL
-     select BR2_PACKAGE_LVM2_STANDARD_INSTALL
-     help
-       Install application library (liblvm2app).
-
-comment "lvm2 application library needs a glibc or uClibc toolchain"
-     depends on BR2_TOOLCHAIN_USES_MUSL
-
  endif
 
  comment "lvm2 needs a toolchain w/ threads, dynamic library"
package/lvm2/lvm2.mk +0 -7
index 84ec75530a..224dbf5d54 100644
@@ -55,12 +55,6 @@ LVM2_INSTALL_STAGING_OPTS += install
  LVM2_INSTALL_TARGET_OPTS += install
  endif
 
-ifeq ($(BR2_PACKAGE_LVM2_APP_LIBRARY),y)
-LVM2_CONF_OPTS += --enable-applib
-else
-LVM2_CONF_OPTS += --disable-applib
-endif
-
  ifeq ($(BR2_INIT_SYSTEMD),y)
  LVM2_INSTALL_TARGET_OPTS += install_systemd_units install_systemd_generators
  endif
@@ -75,7 +69,6 @@ HOST_LVM2_CONF_OPTS = \
       --enable-pkgconfig \
       --disable-cmdlib \
       --disable-dmeventd \
-     --disable-applib \
       --disable-fsadm \
       --disable-readline \
       --disable-selinux
package/udisks/Config.in +0 -15
index efd3b619bf..9d3eb240e6 100644
@@ -31,21 +31,6 @@ config BR2_PACKAGE_UDISKS
 
         http://www.freedesktop.org/wiki/Software/udisks
 
-if BR2_PACKAGE_UDISKS
-
-config BR2_PACKAGE_UDISKS_LVM2
-     bool "lvm2 support"
-     # The lvm app library can't compile against musl
-     depends on BR2_TOOLCHAIN_USES_GLIBC
-     select BR2_PACKAGE_LVM2_APP_LIBRARY
-     help
-       Enable LVM2 support
-
-comment "lvm2 support needs a glibc toolchain"
-     depends on !BR2_TOOLCHAIN_USES_GLIBC
-
-endif
-
  comment "udisks needs udev /dev management"
       depends on BR2_USE_MMU
       depends on !BR2_PACKAGE_HAS_UDEV
package/udisks/udisks.mk +1 -6
index af25c2b8e2..9f7a02e10c 100644
@@ -24,10 +24,6 @@ UDISKS_DEPENDENCIES = \
       sg3_utils \
       udev
 
-UDISKS_CONF_OPTS = --disable-remote-access --disable-man-pages
-
-ifeq ($(BR2_PACKAGE_UDISKS_LVM2),y)
-UDISKS_CONF_OPTS += --enable-lvm2
-endif
+UDISKS_CONF_OPTS = --disable-remote-access --disable-man-pages --disable-lvm2
 
  $(eval $(autotools-package))
--

2.30.2

Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

--
.-----------------.--------------------.------------------.--------------------.

Quoted 5 lines
|  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.  |

'------------------------------^-------^------------------^--------------------'

Best Regards,

Fabrice

#5 lore raw

PATCH 2/2 package/lvm2: drop BR2_PACKAGE_LVM2_APP_LIBRARY

Quoted 32 lines · Giulio Benetti

Hi Fabrice, Adam, All,

Quoted 23 lines · Fabrice Fontaine

Le lun. 17 mai 2021 ? 22:43, Yann E. MORIN <[email protected]> a ?crit :

Quoted 22 lines

Fabrice, All,

+Adam for udisks and GOI... ;-]

On 2021-05-17 19:06 +0200, Fabrice Fontaine spake thusly:

Quoted 9 lines

The application library (liblvm2app) has been dropped since version 2.03.00 and
https://github.com/lvmteam/lvm2/commit/0d22b58172808f050abeacdb5d6a7b7132b91a8c

It should be noted that lvm2 support must be dropped from udisks until a bump to at least version 2.7.0 and
https://github.com/storaged-project/udisks/commit/4c0709a893be49a0db5b2839e4766621e2c1bb98

Applied to master, thanks.

I was a bit concerned that we dropped this support, but hinestly, we have udisks 1.0.5, from March 2014... So, to me, it's a minor annoyance if lvm2 support in udisks is dropped...

Quoted 5 lines
Quoted 2 lines

IIRC, Adam, did some work on udisks back when he was "toying" with GOI... Adam? ;-)

We also have a patch to bump udisks from Giulio:
https://patchwork.ozlabs.org/project/buildroot/patch/20200217143030.5031-5-giulio.benetti at benettiengineering.com/ Perhaps, Giulio could also help us to bump udisks.

Quoted 7 lines

I can try to re-bump since at the time I thought there were a lot of dependencies while Adam(if I recall correct) told me that GOI wasn't needed in libblock for example. So I'm retrying to bump with the minimum dependencies. Let's see if I'm able to do this.

Best regards

Pardon, I've also noticed this Adam's patch to bump that has been rejected:
https://patchwork.ozlabs.org/project/buildroot/patch/20200725230618.3640682-14-aduskett at gmail.com/

But I can't find the reason why it's been rejected. I've applied it and it builds after some adjustment without lvm2 for the moment, then I can respin it if everything is ok with a second patch re-adding lvm2 support.

Signature · 2 lines
Giulio Benetti
Benetti Engineering sas
#6 lore raw

PATCH 2/2 package/lvm2: drop BR2_PACKAGE_LVM2_APP_LIBRARY

Giulio, All,

On 2021-05-18 10:34 +0200, Giulio Benetti spake thusly:

Quoted 3 lines · Giulio Benetti
Quoted 2 lines · Fabrice Fontaine
Quoted 1 line

Le lun. 17 mai 2021 ? 22:43, Yann E. MORIN <[email protected]> a ?crit :

[--SNIP--]

Quoted 12 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

I was a bit concerned that we dropped this support, but hinestly, we have udisks 1.0.5, from March 2014... So, to me, it's a minor annoyance if lvm2 support in udisks is dropped...
IIRC, Adam, did some work on udisks back when he was "toying" with GOI... Adam? ;-)

Quoted 7 lines
Quoted 3 lines

We also have a patch to bump udisks from Giulio:
https://patchwork.ozlabs.org/project/buildroot/patch/20200217143030.5031-5-giulio.benetti at benettiengineering.com/ Perhaps, Giulio could also help us to bump udisks.

I can try to re-bump since at the time I thought there were a lot of dependencies while Adam(if I recall correct) told me that GOI wasn't needed in libblock for example. So I'm retrying to bump with the minimum dependencies. Let's see if I'm able to do this.

Quoted 6 lines

Pardon, I've also noticed this Adam's patch to bump that has been rejected:
https://patchwork.ozlabs.org/project/buildroot/patch/20200725230618.3640682-14-aduskett at gmail.com/

But I can't find the reason why it's been rejected. I've applied it and it builds after some adjustment without lvm2 for the moment, then I can respin it if everything is ok with a second patch re-adding lvm2 support.

IIRC, there was some back-n-forth on IRC about various technical details, like NLS handling and use of msgfmt:

    http://lists.busybox.net/pipermail/buildroot/2020-July/287917.html
    http://lists.busybox.net/pipermail/buildroot/2020-August/290568.html

But indeed, there is no summary on the list... :-/

If you can combine and rework the previous attempts (yours and Adam's) and respin that, with a commit log that explains the issues and how they were fixed, that'd be great!

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
#7 lore raw

PATCH 2/2 package/lvm2: drop BR2_PACKAGE_LVM2_APP_LIBRARY

Hi Yann, All,

Quoted 22 lines · Yann E. MORIN

Giulio, All,

On 2021-05-18 10:34 +0200, Giulio Benetti spake thusly:

Quoted 3 lines · Giulio Benetti
Quoted 2 lines · Fabrice Fontaine
Quoted 1 line

Le lun. 17 mai 2021 ? 22:43, Yann E. MORIN <[email protected]> a ?crit :

[--SNIP--]

Quoted 15 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

I was a bit concerned that we dropped this support, but hinestly, we have udisks 1.0.5, from March 2014... So, to me, it's a minor annoyance if lvm2 support in udisks is dropped...
IIRC, Adam, did some work on udisks back when he was "toying" with GOI... Adam? ;-)

Quoted 7 lines
Quoted 3 lines

We also have a patch to bump udisks from Giulio:
https://patchwork.ozlabs.org/project/buildroot/patch/20200217143030.5031-5-giulio.benetti at benettiengineering.com/ Perhaps, Giulio could also help us to bump udisks.

I can try to re-bump since at the time I thought there were a lot of dependencies while Adam(if I recall correct) told me that GOI wasn't needed in libblock for example. So I'm retrying to bump with the minimum dependencies. Let's see if I'm able to do this.

Pardon, I've also noticed this Adam's patch to bump that has been rejected:
https://patchwork.ozlabs.org/project/buildroot/patch/20200725230618.3640682-14-aduskett at gmail.com/

Quoted 8 lines
Quoted 3 lines

But I can't find the reason why it's been rejected. I've applied it and it builds after some adjustment without lvm2 for the moment, then I can respin it if everything is ok with a second patch re-adding lvm2 support.

IIRC, there was some back-n-forth on IRC about various technical details, like NLS handling and use of msgfmt:

     http://lists.busybox.net/pipermail/buildroot/2020-July/287917.html
     http://lists.busybox.net/pipermail/buildroot/2020-August/290568.html

Thanks for pointing

Quoted 1 line

But indeed, there is no summary on the list... :-/

Yes, I've seen, I try to clarify the dependencies.

Quoted 3 lines

If you can combine and rework the previous attempts (yours and Adam's) and respin that, with a commit log that explains the issues and how they were fixed, that'd be great!

I try to, I've already found that libblockdev fails to install its headers on host so udisks can't find them. It will take me some time to do it, let's see if I succeeed :-)

Best regards

Signature · 2 lines
Giulio Benetti
Benetti Engineering sas
#8 lore raw

cover package/udisks: bump to version 2.92

I'm re-taking over this patch from Adam Duskett, basically the patch is very similar to his one that was taken by initial mine. $(TARGET_NLS_DEPENDENCIES) in my build tests is not needed.

Giulio Benetti (1):
package/udisks: bump to version 2.92

 ...-fix-build-with-newer-glibc-versions.patch | 29 -------
 .../0002-Fix-systemd-service-file.patch       | 33 --------
 ...issue-with-missing-sys-sysmacros.h-i.patch | 81 -------------------
 package/udisks/Config.in                      | 17 +++-
 package/udisks/udisks.hash                    |  4 +-
 package/udisks/udisks.mk                      | 27 +++++--
 6 files changed, 35 insertions(+), 156 deletions(-)
 delete mode 100644 package/udisks/0001-fix-build-with-newer-glibc-versions.patch
 delete mode 100644 package/udisks/0002-Fix-systemd-service-file.patch
 delete mode 100644 package/udisks/0003-Fix-compilation-issue-with-missing-sys-sysmacros.h-i.patch
Signature · 1 line
2.25.1
#9 lore raw

PATCH 1/1 package/udisks: bump to version 2.92

Bump version to 2.92 by:
- removing local patches that have been upstreamed
- adding BR2_TOOLCHAIN_HAS_SYNC_4 dependency
- adding libblockdev dependencies
- adding libmount(contained in util-linux package) dependency
- moving download site to github since it's the new upstream address
- disabling all useless udisks's build option to shrink its size and t use it as a daemon

---
 ...-fix-build-with-newer-glibc-versions.patch | 29 -------
 .../0002-Fix-systemd-service-file.patch       | 33 --------
 ...issue-with-missing-sys-sysmacros.h-i.patch | 81 -------------------
 package/udisks/Config.in                      | 17 +++-
 package/udisks/udisks.hash                    |  4 +-
 package/udisks/udisks.mk                      | 27 +++++--
 6 files changed, 35 insertions(+), 156 deletions(-)
 delete mode 100644 package/udisks/0001-fix-build-with-newer-glibc-versions.patch
 delete mode 100644 package/udisks/0002-Fix-systemd-service-file.patch
 delete mode 100644 package/udisks/0003-Fix-compilation-issue-with-missing-sys-sysmacros.h-i.patch
package/udisks/0001-fix-build-with-newer-glibc-versions.patch deleted +0 -29
deleted file mode 100644
index 336fc440a6..0000000000
@@ -1,29 +0,0 @@
-Fix build with newer glibc versions
-
-This patch has been backported from upstream:
-
-http://cgit.freedesktop.org/udisks/commit/?h=udisks1&id=9829152b12a8924d2e091a00133ed1a3a7ba75c0
-
-Signed-off-by: Vicente Olivert Riera <[email protected]>
-
-From 9829152b12a8924d2e091a00133ed1a3a7ba75c0 Mon Sep 17 00:00:00 2001
-From: Alexandre Rostovtsev <[email protected]>
-Date: Fri, 29 May 2015 21:09:39 -0400
-Subject: fix build with newer glibc versions
-
-https://bugs.freedesktop.org/show_bug.cgi?id=90778
-
-diff --git a/src/helpers/job-drive-detach.c b/src/helpers/job-drive-detach.c
-index eeafcab..d122a1f 100644
---- a/src/helpers/job-drive-detach.c
-+++ b/src/helpers/job-drive-detach.c
-@@ -18,6 +18,7 @@
-  *
-  */
- 
-+#include <sys/stat.h>
- #include <stdio.h>
- #include <string.h>
- #include <errno.h>
--- 
-cgit v0.10.2
package/udisks/0002-Fix-systemd-service-file.patch deleted +0 -33
deleted file mode 100644
index ea347aef73..0000000000
@@ -1,33 +0,0 @@
-From bf8b4362cef24a6f747e4329305a4939c8f585d1 Mon Sep 17 00:00:00 2001
-From: David King <[email protected]>
-Date: Thu, 2 Jul 2015 13:49:22 +0100
-Subject: [PATCH] Fix systemd service file
-
-udisks-daemon is installed to $(libexecdir), not $(prefix)/lib/udisks.
-
-https://bugzilla.redhat.com/show_bug.cgi?id=1238664
-https://bugs.freedesktop.org/show_bug.cgi?id=91191
-
-[This patch has been backported from upstream:
-https://cgit.freedesktop.org/udisks/commit/?h=udisks1&id=bf8b4362cef24a6f747e4329305a4939c8f585d1]
-Signed-off-by: Pieterjan Camerlynck <[email protected]>
----
- data/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/data/Makefile.am b/data/Makefile.am
-index 411ea0f..08af5f4 100644
---- a/data/Makefile.am
-+++ b/data/Makefile.am
-@@ -31,7 +31,7 @@ systemdservicedir       = $(systemdsystemunitdir)
- systemdservice_DATA     = $(systemdservice_in_files:.service.in=.service)
- 
- $(systemdservice_DATA): $(systemdservice_in_files) Makefile
--	@sed -e "s|\@libexecdir\@|$(prefix)/lib/udisks|" $< > $@
-+	@sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
- endif
- 
- udevrulesdir = $(slashlibdir)/udev/rules.d
--- 
-2.7.4
-
package/udisks/0003-Fix-compilation-issue-with-missing-sys-sysmacros.h-i.patch deleted +0 -81

81 lines not on this page · raw message

package/udisks/Config.in +13 -4
index 9d3eb240e6..17993baafc 100644
@@ -7,18 +7,26 @@ config BR2_PACKAGE_UDISKS
 	depends on BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS # spidermonkey
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # spidermonkey
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # polkit
-	depends on BR2_USE_MMU # lvm2
 	depends on BR2_USE_WCHAR # dbus-glib -> glib2
-	depends on !BR2_TOOLCHAIN_USES_UCLIBC # polkit, lvm2
-	depends on !BR2_STATIC_LIBS # lvm2, spidermonkey
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libblockdev -> cryptsetup -> json-c
+	depends on !BR2_TOOLCHAIN_USES_UCLIBC # polkit
+	depends on !BR2_STATIC_LIBS # spidermonkey
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_DBUS_GLIB
 	select BR2_PACKAGE_LIBATASMART
+	select BR2_PACKAGE_LIBBLOCKDEV
+	select BR2_PACKAGE_LIBBLOCKDEV_CRYPTO
+	select BR2_PACKAGE_LIBBLOCKDEV_FS
+	select BR2_PACKAGE_LIBBLOCKDEV_LOOP
+	select BR2_PACKAGE_LIBBLOCKDEV_MDRAID
+	select BR2_PACKAGE_LIBBLOCKDEV_PART
+	select BR2_PACKAGE_LIBBLOCKDEV_SWAP
 	select BR2_PACKAGE_LIBGUDEV
-	select BR2_PACKAGE_LVM2
 	select BR2_PACKAGE_PARTED
 	select BR2_PACKAGE_POLKIT
 	select BR2_PACKAGE_SG3_UTILS
+	select BR2_PACKAGE_UTIL_LINUX
+	select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
 	help
 	  The udisks project provides
 
@@ -38,6 +46,7 @@ comment "udisks needs udev /dev management"
 comment "udisks needs a glibc or musl toolchain with locale, C++, wchar, dynamic library, NPTL, gcc >= 4.9"
 	depends on BR2_USE_MMU
 	depends on BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
 	depends on !BR2_ENABLE_LOCALE || BR2_TOOLCHAIN_USES_UCLIBC || \
 		!BR2_INSTALL_LIBSTDCPP || \
 		BR2_STATIC_LIBS || \
package/udisks/udisks.hash +2 -2
index b40161e323..303a0aae01 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256 f2ec82eb0ea7e01dc299b5b29b3c18cdf861236ec43dcff66b3552b4b31c6f71  udisks-1.0.5.tar.gz
-sha256 7d30f41a79a9b453b4972a6d7e3425ff104b39232891bde8ba659f1adb21f771  COPYING
+sha256  bda6f9d7edc632c57e55862731a8ffeff2413fa4346708a22bf31ed72b0fe058  udisks-2.9.2.tar.bz2
+sha256  98046e932dc6c739001e79d7079a3bd958fc55475dcd917d27f884c0c93525cc  COPYING
package/udisks/udisks.mk +20 -7
index 9f7a02e10c..aa1a73aff5 100644
@@ -4,26 +4,39 @@
 #
 ################################################################################
 
-UDISKS_VERSION = 1.0.5
-UDISKS_SITE = http://hal.freedesktop.org/releases
+UDISKS_VERSION = 2.9.2
+UDISKS_SOURCE = udisks-$(UDISKS_VERSION).tar.bz2
+UDISKS_SITE = https://github.com/storaged-project/udisks/releases/download/udisks-$(UDISKS_VERSION)
 UDISKS_LICENSE = GPL-2.0+
 UDISKS_LICENSE_FILES = COPYING
 UDISKS_CPE_ID_VENDOR = freedesktop
-# For 0002-Fix-systemd-service-file.patch
-UDISKS_AUTORECONF = YES
 
 UDISKS_DEPENDENCIES = \
 	host-pkgconf \
 	dbus \
 	dbus-glib \
 	libatasmart \
+	libblockdev \
 	libgudev \
-	lvm2 \
 	parted \
 	polkit \
 	sg3_utils \
-	udev
+	udev \
+	util-linux
 
-UDISKS_CONF_OPTS = --disable-remote-access --disable-man-pages --disable-lvm2
+UDISKS_CONF_OPTS = \
+	--disable-acl \
+	--disable-bcache \
+	--disable-btrfs \
+	--disable-fhs-media \
+	--disable-introspection \
+	--disable-iscsi \
+	--disable-lsm \
+	--disable-lvm2 \
+	--disable-lvmcache \
+	--disable-man \
+	--disable-rpath \
+	--disable-vdo \
+	--disable-zram
 
 $(eval $(autotools-package))
Signature · 1 line
2.25.1
#10 lore raw

PATCH 1/1 package/udisks: bump to version 2.92

Quoted 10 lines · Giulio Benetti

Bump version to 2.92 by:
- removing local patches that have been upstreamed
- adding BR2_TOOLCHAIN_HAS_SYNC_4 dependency
- adding libblockdev dependencies
- adding libmount(contained in util-linux package) dependency
- moving download site to github since it's the new upstream address
- disabling all useless udisks's build option to shrink its size and t use it as a daemon

Applied to next, thanks.

Regards,
Arnout

#11 lore raw

PATCH 2/2 package/lvm2: drop BR2_PACKAGE_LVM2_APP_LIBRARY

In reply to Giulio Benetti

Hi Yann,

Quoted 8 lines · Giulio Benetti

Hi Yann, All,

Quoted 4 lines · Yann E. MORIN

IIRC, there was some back-n-forth on IRC about various technical details, like NLS handling and use of msgfmt:

      http://lists.busybox.net/pipermail/buildroot/2020-July/287917.html
      http://lists.busybox.net/pipermail/buildroot/2020-August/290568.html

I've just sent the udisks' patch. Regarding this:
http://lists.busybox.net/pipermail/buildroot/2020-August/290568.html

it seems something not related to udisks.

I've built with test-pkg succesfully while now I've launched test-pkg -a to build with all architectures.

Since I've started, then Adam continued and then I've finished how does it work with authorship? Is it mine? And also, I should add its SoB with listing what I've done and he's done, right? If so I will send on V2.

Thank you
and
Best regards

Signature · 2 lines
Giulio Benetti
Benetti Engineering sas
#12 lore raw

PATCH 1/2 package/docker-engine: drop BR2_PACKAGE_LVM2_APP_LIBRARY

In reply to Fabrice Fontaine

Fabrice, All,

On 2021-05-17 19:06 +0200, Fabrice Fontaine spake thusly:

Quoted 3 lines

lvm2 app library is not needed to build devicemapper filesystem driver

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 25 lines
---
 package/docker-engine/Config.in | 2 --
 1 file changed, 2 deletions(-)
package/docker-engine/Config.in +0 -2
index 357101f280..911cbfe428 100644
@@ -34,9 +34,7 @@ config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_DEVICEMAPPER
 	depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2
 	depends on BR2_USE_MMU # lvm2
 	depends on !BR2_STATIC_LIBS # lvm2
-	depends on !BR2_TOOLCHAIN_USES_MUSL # lvm2
 	select BR2_PACKAGE_LVM2
-	select BR2_PACKAGE_LVM2_APP_LIBRARY
 	help
 	  Build the devicemapper filesystem driver for Docker.
 
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'