public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [meta-gplv2][PATCH 0/1] util-linux without python
@ 2020-08-27 11:28 Adrian Freihofer
  2020-08-27 11:28 ` [meta-gplv2][PATCH 1/1] util-linux: remove GPLv3 and pylibmount Adrian Freihofer
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Freihofer @ 2020-08-27 11:28 UTC (permalink / raw)
  To: openembedded-core; +Cc: Adrian Freihofer

It's not completely tested because we do not use meta-gplv2 layer.
But I guess it will solve the Problem of this build pipeline:
https://autobuilder.yoctoproject.org/typhoon/#/builders/75/builds/2371

Adrian Freihofer (1):
  util-linux: remove GPLv3 and pylibmount

 recipes-core/util-linux/util-linux_%.bbappend | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 recipes-core/util-linux/util-linux_%.bbappend

-- 
2.25.4


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

* [meta-gplv2][PATCH 1/1] util-linux: remove GPLv3 and pylibmount
  2020-08-27 11:28 [meta-gplv2][PATCH 0/1] util-linux without python Adrian Freihofer
@ 2020-08-27 11:28 ` Adrian Freihofer
  2020-08-27 11:40   ` [OE-core] " Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Freihofer @ 2020-08-27 11:28 UTC (permalink / raw)
  To: openembedded-core; +Cc: Adrian Freihofer

python bindings are GPLv3+.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
---
 recipes-core/util-linux/util-linux_%.bbappend | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 recipes-core/util-linux/util-linux_%.bbappend

diff --git a/recipes-core/util-linux/util-linux_%.bbappend b/recipes-core/util-linux/util-linux_%.bbappend
new file mode 100644
index 0000000..abd31c5
--- /dev/null
+++ b/recipes-core/util-linux/util-linux_%.bbappend
@@ -0,0 +1,10 @@
+# pylibmount is GPLv3 -> remove
+LICENSE = "GPLv2+ & LGPLv2.1+ & BSD-3-Clause & BSD-4-Clause"
+
+PACKAGECONFIG_remove = "pylibmount"
+
+do_install_append() {
+    rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/libmount/pylibmount.so
+    rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/libmount/__init__.*
+    rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/libmount/__pycache__
+}
-- 
2.25.4


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

* Re: [OE-core] [meta-gplv2][PATCH 1/1] util-linux: remove GPLv3 and pylibmount
  2020-08-27 11:28 ` [meta-gplv2][PATCH 1/1] util-linux: remove GPLv3 and pylibmount Adrian Freihofer
@ 2020-08-27 11:40   ` Richard Purdie
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2020-08-27 11:40 UTC (permalink / raw)
  To: Adrian Freihofer, openembedded-core; +Cc: Adrian Freihofer

On Thu, 2020-08-27 at 13:28 +0200, Adrian Freihofer wrote:
> python bindings are GPLv3+.
> 
> Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
> ---
>  recipes-core/util-linux/util-linux_%.bbappend | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>  create mode 100644 recipes-core/util-linux/util-linux_%.bbappend
> 
> diff --git a/recipes-core/util-linux/util-linux_%.bbappend b/recipes-
> core/util-linux/util-linux_%.bbappend
> new file mode 100644
> index 0000000..abd31c5
> --- /dev/null
> +++ b/recipes-core/util-linux/util-linux_%.bbappend
> @@ -0,0 +1,10 @@
> +# pylibmount is GPLv3 -> remove
> +LICENSE = "GPLv2+ & LGPLv2.1+ & BSD-3-Clause & BSD-4-Clause"
> +
> +PACKAGECONFIG_remove = "pylibmount"
> +
> +do_install_append() {
> +    rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/libmount/pylibmount.so
> +    rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/libmount/__init__.*
> +    rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/libmount/__pycache__
> +}

I think this change unconditionally changes the recipe and means
including the layer adds the change. That will break YP Compatibility
and means meta-gplv2 isn't YP Compatible. I think (but haven't
confirmed) this will break the yocto-check-layer tests on the
autobuilder.

Also, resetting LICENSE is a really bad idea as if someone adds a new
license, this will hide/override it. A remove there may be better too.

Cheers,

Richard


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

end of thread, other threads:[~2020-08-27 11:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-27 11:28 [meta-gplv2][PATCH 0/1] util-linux without python Adrian Freihofer
2020-08-27 11:28 ` [meta-gplv2][PATCH 1/1] util-linux: remove GPLv3 and pylibmount Adrian Freihofer
2020-08-27 11:40   ` [OE-core] " Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox