From: "Richard Purdie" <richard.purdie@linuxfoundation.org>
To: Adrian Freihofer <adrian.freihofer@gmail.com>,
openembedded-core@lists.openembedded.org
Cc: Adrian Freihofer <adrian.freihofer@siemens.com>
Subject: Re: [OE-core] [meta-gplv2][PATCH 1/1] util-linux: remove GPLv3 and pylibmount
Date: Thu, 27 Aug 2020 12:40:00 +0100 [thread overview]
Message-ID: <e0e03fe18f60cc219a8ec5176b77fcdd5de73f18.camel@linuxfoundation.org> (raw)
In-Reply-To: <20200827112816.2138122-2-adrian.freihofer@siemens.com>
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
prev parent reply other threads:[~2020-08-27 11:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Richard Purdie [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e0e03fe18f60cc219a8ec5176b77fcdd5de73f18.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=adrian.freihofer@gmail.com \
--cc=adrian.freihofer@siemens.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox