Skip to contentSkip to conversation

conf/distro: Add removal of btrfs-tools from util-linux ptest depends

PATCH In review Richard Purdie 3 participants 3 messages Apr 19, 2021 – Apr 20, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 conf/distro: Add removal of btrfs-tools from util-linux ptest depends

btrfs-tools has changed to LGPL-3.1 so to allow util-linux to build, remove the dependency from its ptest package. This may regress some ptests but keeps the gplv2 layer working.

---
 conf/distro/include/disable-gplv3.inc | 1 +
 1 file changed, 1 insertion(+)
conf/distro/include/disable-gplv3.inc +1 -0
index bded378..3285543 100644
@@ -1,3 +1,4 @@
 INCOMPATIBLE_LICENSE = '*GPLv3*'
 WARN_QA_remove = 'incompatible-license'
 RDEPENDS_${PN}-ptest_remove_pn-glib-2.0 = "python3-dbusmock"
+RDEPENDS_${PN}-ptest_remove_pn-util-linux = "btrfs-tools"
Signature · 1 line
2.30.2
#1 lore raw

+1.

Ross

Quoted 25 lines · Richard Purdie

btrfs-tools has changed to LGPL-3.1 so to allow util-linux to build, remove the dependency from its ptest package. This may regress some ptests but keeps the gplv2 layer working.

---
 conf/distro/include/disable-gplv3.inc | 1 +
 1 file changed, 1 insertion(+)
conf/distro/include/disable-gplv3.inc +1 -1
index bded378..3285543 100644
@@ -1,3 +1,4 @@
 INCOMPATIBLE_LICENSE = '*GPLv3*'
 WARN_QA_remove = 'incompatible-license'
 RDEPENDS_${PN}-ptest_remove_pn-glib-2.0 = "python3-dbusmock"
+RDEPENDS_${PN}-ptest_remove_pn-util-linux = "btrfs-tools"
--

2.30.2

#2 lore raw

Just to clarify, btrfs-tools has always had an LGPL-3.0 library (libbtrfsutil), the recipe just never declared it before. Upstream is relicensing that library to LGPL-2.1+, which should be done for the next release.

Sorry about this, I sent the update and didn’t realize it broke the non-gplv3 builds. I’ll keep an eye out for the next upstream release which should allow this patch to be reverted.

Thanks,
Robert

Quoted 35 lines · Ross Burton

+1.

Ross

Quoted 25 lines · Richard Purdie

btrfs-tools has changed to LGPL-3.1 so to allow util-linux to build, remove the dependency from its ptest package. This may regress some ptests but keeps the gplv2 layer working.

---
conf/distro/include/disable-gplv3.inc | 1 +

1 file changed, 1 insertion(+)
conf/distro/include/disable-gplv3.inc +0 -0
index bded378..3285543 100644
@@ -1,3 +1,4 @@

INCOMPATIBLE_LICENSE = '*GPLv3*'
WARN_QA_remove = 'incompatible-license' RDEPENDS_${PN}-ptest_remove_pn-glib-2.0 = "python3-dbusmock" +RDEPENDS_${PN}-ptest_remove_pn-util-linux = "btrfs-tools" --
2.30.2