Re: [meta-gplv2] [PATCH] conf/distro: Add removal of btrfs-tools from util-linux ptest depends

Robert Joslyn

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.


On Apr 19, 2021, at 2:29 PM, Ross Burton <ross@...> wrote:



On Mon, 19 Apr 2021 at 21:47, Richard Purdie
<richard.purdie@...> wrote:

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.

Signed-off-by: Richard Purdie <richard.purdie@...>
conf/distro/include/ | 1 +
1 file changed, 1 insertion(+)

diff --git a/conf/distro/include/ b/conf/distro/include/
index bded378..3285543 100644
--- a/conf/distro/include/
+++ b/conf/distro/include/
@@ -1,3 +1,4 @@
WARN_QA_remove = 'incompatible-license'
RDEPENDS_${PN}-ptest_remove_pn-glib-2.0 = "python3-dbusmock"
+RDEPENDS_${PN}-ptest_remove_pn-util-linux = "btrfs-tools"

Join to automatically receive all group messages.