public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Adrian Freihofer" <adrian.freihofer@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Adrian Freihofer <adrian.freihofer@siemens.com>
Subject: [meta-gplv2][PATCH 1/1] util-linux: remove GPLv3 and pylibmount
Date: Thu, 27 Aug 2020 13:28:16 +0200	[thread overview]
Message-ID: <20200827112816.2138122-2-adrian.freihofer@siemens.com> (raw)
In-Reply-To: <20200827112816.2138122-1-adrian.freihofer@siemens.com>

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


  reply	other threads:[~2020-08-27 11:29 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 ` Adrian Freihofer [this message]
2020-08-27 11:40   ` [OE-core] [meta-gplv2][PATCH 1/1] util-linux: remove GPLv3 and pylibmount Richard Purdie

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=20200827112816.2138122-2-adrian.freihofer@siemens.com \
    --to=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