Skip to contentSkip to conversation

conf/distro: Add disable-gplv3.inc

PATCH New Richard Purdie 1 participant 2 messages May 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 conf/distro: Add disable-gplv3.inc

We're finding this layer needs configuration to work as intended. Rather than teaching this to things like the project autobuilder, collect the configuration inside an include file in the layer itself which everyone can either use directly or refer to.

Initial population from the autobuilder config used for this testing this layer.

---
 conf/distro/include/disable-gplv3.inc | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 conf/distro/include/disable-gplv3.inc
conf/distro/include/disable-gplv3.inc new file +2 -0
new file mode 100644
index 0000000..45834b7
@@ -0,0 +1,2 @@
+INCOMPATIBLE_LICENSE = '*GPLv3'
+WARN_QA_remove = 'incompatible-license'
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 disable-gplv3.inc: Disable glib-2.0 ptest python3-dbusmock dependency

The newly added dependency on python3-dbusmock in OE-Core is GPLv3 and would fail to work with this layer. Remove it in the config for enabling the layer.

---
 conf/distro/include/disable-gplv3.inc | 1 +
 1 file changed, 1 insertion(+)
conf/distro/include/disable-gplv3.inc +1 -0
index 45834b7..761be7d 100644
@@ -1,2 +1,3 @@
 INCOMPATIBLE_LICENSE = '*GPLv3'
 WARN_QA_remove = 'incompatible-license'
+RDEPENDS_${PN}-ptest_remove_pn-glib-2.0 = "python3-dbusmock"
Signature · 1 line
2.25.1