* [PATCH v2 1/3] btrfs-tools: Update to 5.11.1
@ 2021-04-18 3:40 Robert Joslyn
2021-04-18 3:40 ` [PATCH v2 2/3] btrfs-tools: Add PACKAGECONFIG options Robert Joslyn
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Robert Joslyn @ 2021-04-18 3:40 UTC (permalink / raw)
To: openembedded-core; +Cc: Robert Joslyn
Update licensing, as libtrfsutil is under LGPLv3+. Note that libtrfsutil
is in the process of being relicensed to LGPLv2.1+:
https://github.com/kdave/btrfs-progs/issues/323
Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
---
.../{btrfs-tools_5.10.1.bb => btrfs-tools_5.11.1.bb} | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
rename meta/recipes-devtools/btrfs-tools/{btrfs-tools_5.10.1.bb => btrfs-tools_5.11.1.bb} (88%)
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.10.1.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb
similarity index 88%
rename from meta/recipes-devtools/btrfs-tools/btrfs-tools_5.10.1.bb
rename to meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb
index fca010d4ae..2ab476a88e 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.10.1.bb
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb
@@ -7,14 +7,17 @@ btrfs and an utility (btrfs-convert) to make a btrfs filesystem from an ext3."
HOMEPAGE = "https://btrfs.wiki.kernel.org"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067"
+LICENSE = "GPLv2 & LGPLv3+"
+LIC_FILES_CHKSUM = " \
+ file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067 \
+ file://libbtrfsutil/COPYING.LESSER;md5=3000208d539ec061b899bce1d9ce9404 \
+"
SECTION = "base"
DEPENDS = "util-linux attr e2fsprogs lzo acl"
DEPENDS_append_class-target = " udev"
RDEPENDS_${PN} = "libgcc"
-SRCREV = "f2ffce38b9c1477a7350bfe165f0e34b9bde40f5"
+SRCREV = "8d5051f279f7994fb80536ef8f846f06d121d898"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git \
file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \
"
--
2.26.3
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH v2 2/3] btrfs-tools: Add PACKAGECONFIG options 2021-04-18 3:40 [PATCH v2 1/3] btrfs-tools: Update to 5.11.1 Robert Joslyn @ 2021-04-18 3:40 ` Robert Joslyn 2021-04-18 3:40 ` [PATCH v2 3/3] btrfs-tools: Try to follow style guide Robert Joslyn 2021-04-19 3:38 ` [OE-core] [PATCH v2 1/3] btrfs-tools: Update to 5.11.1 Naveen Saini 2 siblings, 0 replies; 5+ messages in thread From: Robert Joslyn @ 2021-04-18 3:40 UTC (permalink / raw) To: openembedded-core; +Cc: Robert Joslyn Add options to make it easier to control which features are enabled. All of these default to enabled by upstream, so keep them enabled to maintain previous behavior. The convert option also supports reiserfs, but no recipes exist in the layer index. Limit the option to ext filesystems until someone cares enough to make reiserfs recipes. Remove acl and attr from DEPENDS, as they do not apper to be needed. Add zlib since it is required. Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> --- .../btrfs-tools/btrfs-tools_5.11.1.bb | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb index 2ab476a88e..73d0237635 100644 --- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb +++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb @@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = " \ file://libbtrfsutil/COPYING.LESSER;md5=3000208d539ec061b899bce1d9ce9404 \ " SECTION = "base" -DEPENDS = "util-linux attr e2fsprogs lzo acl" +DEPENDS = "lzo util-linux zlib" DEPENDS_append_class-target = " udev" RDEPENDS_${PN} = "libgcc" @@ -22,16 +22,30 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git \ file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \ " -PACKAGECONFIG ??= "python" +PACKAGECONFIG ??= " \ + programs \ + convert \ + python \ + crypto-builtin \ +" PACKAGECONFIG[manpages] = "--enable-documentation, --disable-documentation, asciidoc-native xmlto-native" +PACKAGECONFIG[programs] = "--enable-programs,--disable-programs" +PACKAGECONFIG[convert] = "--enable-convert --with-convert=ext2,--disable-convert --without-convert,e2fsprogs" PACKAGECONFIG[python] = "--enable-python,--disable-python,python3-setuptools-native" PACKAGECONFIG[zstd] = "--enable-zstd,--disable-zstd,zstd" +# Pick only one crypto provider +PACKAGECONFIG[crypto-builtin] = "--with-crypto=builtin" +PACKAGECONFIG[crypto-libgcrypt] = "--with-crypto=libgcrypt,,libgcrypt" +PACKAGECONFIG[crypto-libsodium] = "--with-crypto=libsodium,,libsodium" +PACKAGECONFIG[crypto-libkcapi] = "--with-crypto=libkcapi,,libkcapi" + inherit autotools-brokensep pkgconfig manpages inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'distutils3-base', '', d)} CLEANBROKEN = "1" +EXTRA_OECONF = "--enable-largefile" EXTRA_OECONF_append_libc-musl = " --disable-backtrace " EXTRA_PYTHON_CFLAGS = "${DEBUG_PREFIX_MAP}" EXTRA_PYTHON_CFLAGS_class-native = "" -- 2.26.3 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v2 3/3] btrfs-tools: Try to follow style guide 2021-04-18 3:40 [PATCH v2 1/3] btrfs-tools: Update to 5.11.1 Robert Joslyn 2021-04-18 3:40 ` [PATCH v2 2/3] btrfs-tools: Add PACKAGECONFIG options Robert Joslyn @ 2021-04-18 3:40 ` Robert Joslyn 2021-04-19 3:38 ` [OE-core] [PATCH v2 1/3] btrfs-tools: Update to 5.11.1 Naveen Saini 2 siblings, 0 replies; 5+ messages in thread From: Robert Joslyn @ 2021-04-18 3:40 UTC (permalink / raw) To: openembedded-core; +Cc: Robert Joslyn Cosmetic changes to better follow the style guide. Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> --- meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb index 73d0237635..b5e0561c15 100644 --- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb +++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb @@ -15,12 +15,12 @@ LIC_FILES_CHKSUM = " \ SECTION = "base" DEPENDS = "lzo util-linux zlib" DEPENDS_append_class-target = " udev" -RDEPENDS_${PN} = "libgcc" -SRCREV = "8d5051f279f7994fb80536ef8f846f06d121d898" SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git \ file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \ " +SRCREV = "8d5051f279f7994fb80536ef8f846f06d121d898" +S = "${WORKDIR}/git" PACKAGECONFIG ??= " \ programs \ @@ -58,7 +58,6 @@ do_configure_prepend() { cp -f $(automake --print-libdir)/install-sh ${S}/config/ } -S = "${WORKDIR}/git" do_install_append() { if [ "${@bb.utils.filter('PACKAGECONFIG', 'python', d)}" ]; then @@ -66,4 +65,6 @@ do_install_append() { fi } +RDEPENDS_${PN} = "libgcc" + BBCLASSEXTEND = "native nativesdk" -- 2.26.3 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [OE-core] [PATCH v2 1/3] btrfs-tools: Update to 5.11.1 2021-04-18 3:40 [PATCH v2 1/3] btrfs-tools: Update to 5.11.1 Robert Joslyn 2021-04-18 3:40 ` [PATCH v2 2/3] btrfs-tools: Add PACKAGECONFIG options Robert Joslyn 2021-04-18 3:40 ` [PATCH v2 3/3] btrfs-tools: Try to follow style guide Robert Joslyn @ 2021-04-19 3:38 ` Naveen Saini 2021-04-19 20:46 ` Richard Purdie 2 siblings, 1 reply; 5+ messages in thread From: Naveen Saini @ 2021-04-19 3:38 UTC (permalink / raw) To: Robert Joslyn, openembedded-core@lists.openembedded.org [SWAT} It causing util-linux build failure on non-gpl3 build. ERROR: Nothing RPROVIDES 'btrfs-tools' (but /home/pokybuild/yocto-worker/non-gpl3/build/meta/recipes-core/util-linux/util-linux_2.36.2.bb RDEPENDS on or otherwise requires it) btrfs-tools was skipped: it has incompatible license(s): LGPL-3.0-or-later https://autobuilder.yoctoproject.org/typhoon/#/builders/75/builds/3312 > -----Original Message----- > From: openembedded-core@lists.openembedded.org <openembedded- > core@lists.openembedded.org> On Behalf Of Robert Joslyn > Sent: Sunday, April 18, 2021 11:41 AM > To: openembedded-core@lists.openembedded.org > Cc: Robert Joslyn <robert.joslyn@redrectangle.org> > Subject: [OE-core] [PATCH v2 1/3] btrfs-tools: Update to 5.11.1 > > Update licensing, as libtrfsutil is under LGPLv3+. Note that libtrfsutil is in the > process of being relicensed to LGPLv2.1+: > https://github.com/kdave/btrfs-progs/issues/323 > > Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> > --- > .../{btrfs-tools_5.10.1.bb => btrfs-tools_5.11.1.bb} | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) rename meta/recipes- > devtools/btrfs-tools/{btrfs-tools_5.10.1.bb => btrfs-tools_5.11.1.bb} (88%) > > diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.10.1.bb > b/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb > similarity index 88% > rename from meta/recipes-devtools/btrfs-tools/btrfs-tools_5.10.1.bb > rename to meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb > index fca010d4ae..2ab476a88e 100644 > --- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.10.1.bb > +++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb > @@ -7,14 +7,17 @@ btrfs and an utility (btrfs-convert) to make a btrfs > filesystem from an ext3." > > HOMEPAGE = "https://btrfs.wiki.kernel.org" > > -LICENSE = "GPLv2" > -LIC_FILES_CHKSUM = > "file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067" > +LICENSE = "GPLv2 & LGPLv3+" > +LIC_FILES_CHKSUM = " \ > + file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067 \ > + > +file://libbtrfsutil/COPYING.LESSER;md5=3000208d539ec061b899bce1d9ce94 > 04 \ " > SECTION = "base" > DEPENDS = "util-linux attr e2fsprogs lzo acl" > DEPENDS_append_class-target = " udev" > RDEPENDS_${PN} = "libgcc" > > -SRCREV = "f2ffce38b9c1477a7350bfe165f0e34b9bde40f5" > +SRCREV = "8d5051f279f7994fb80536ef8f846f06d121d898" > SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs- > progs.git \ > file://0001-Add-a-possibility-to-specify-where-python-modules- > ar.patch \ > " > -- > 2.26.3 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core] [PATCH v2 1/3] btrfs-tools: Update to 5.11.1 2021-04-19 3:38 ` [OE-core] [PATCH v2 1/3] btrfs-tools: Update to 5.11.1 Naveen Saini @ 2021-04-19 20:46 ` Richard Purdie 0 siblings, 0 replies; 5+ messages in thread From: Richard Purdie @ 2021-04-19 20:46 UTC (permalink / raw) To: Naveen Saini, Robert Joslyn, openembedded-core@lists.openembedded.org On Mon, 2021-04-19 at 03:38 +0000, Naveen Saini wrote: > [SWAT} > It causing util-linux build failure on non-gpl3 build. > > ERROR: Nothing RPROVIDES 'btrfs-tools' (but /home/pokybuild/yocto-worker/non-gpl3/build/meta/recipes-core/util-linux/util-linux_2.36.2.bb RDEPENDS on or otherwise requires it) > btrfs-tools was skipped: it has incompatible license(s): LGPL-3.0-or-later > https://autobuilder.yoctoproject.org/typhoon/#/builders/75/builds/3312 Just FYI I've a fix queued for this one to meta-gplv2. Cheers, Richard ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-04-19 20:46 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2021-04-18 3:40 [PATCH v2 1/3] btrfs-tools: Update to 5.11.1 Robert Joslyn 2021-04-18 3:40 ` [PATCH v2 2/3] btrfs-tools: Add PACKAGECONFIG options Robert Joslyn 2021-04-18 3:40 ` [PATCH v2 3/3] btrfs-tools: Try to follow style guide Robert Joslyn 2021-04-19 3:38 ` [OE-core] [PATCH v2 1/3] btrfs-tools: Update to 5.11.1 Naveen Saini 2021-04-19 20:46 ` Richard Purdie
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox