All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] conf/distro: Add disable-gplv3.inc
@ 2020-05-05 10:27 Richard Purdie
  2020-05-05 10:27 ` [PATCH 2/2] disable-gplv3.inc: Disable glib-2.0 ptest python3-dbusmock dependency Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2020-05-05 10:27 UTC (permalink / raw)
  To: yocto

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 conf/distro/include/disable-gplv3.inc | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 conf/distro/include/disable-gplv3.inc

diff --git a/conf/distro/include/disable-gplv3.inc b/conf/distro/include/disable-gplv3.inc
new file mode 100644
index 0000000..45834b7
--- /dev/null
+++ b/conf/distro/include/disable-gplv3.inc
@@ -0,0 +1,2 @@
+INCOMPATIBLE_LICENSE = '*GPLv3'
+WARN_QA_remove = 'incompatible-license'
-- 
2.25.1


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

* [PATCH 2/2] disable-gplv3.inc: Disable glib-2.0 ptest python3-dbusmock dependency
  2020-05-05 10:27 [PATCH 1/2] conf/distro: Add disable-gplv3.inc Richard Purdie
@ 2020-05-05 10:27 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2020-05-05 10:27 UTC (permalink / raw)
  To: yocto

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 conf/distro/include/disable-gplv3.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf/distro/include/disable-gplv3.inc b/conf/distro/include/disable-gplv3.inc
index 45834b7..761be7d 100644
--- a/conf/distro/include/disable-gplv3.inc
+++ b/conf/distro/include/disable-gplv3.inc
@@ -1,2 +1,3 @@
 INCOMPATIBLE_LICENSE = '*GPLv3'
 WARN_QA_remove = 'incompatible-license'
+RDEPENDS_${PN}-ptest_remove_pn-glib-2.0 = "python3-dbusmock"
-- 
2.25.1


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

end of thread, other threads:[~2020-05-05 10:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-05 10:27 [PATCH 1/2] conf/distro: Add disable-gplv3.inc Richard Purdie
2020-05-05 10:27 ` [PATCH 2/2] disable-gplv3.inc: Disable glib-2.0 ptest python3-dbusmock dependency Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.