python bindings are GPLv3+.

Signed-off-by: Adrian Freihofer <[email protected]>
---
 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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#141901): 
https://lists.openembedded.org/g/openembedded-core/message/141901
Mute This Topic: https://lists.openembedded.org/mt/76449110/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to