summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-04 11:58:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-05 14:06:10 +0000
commit34c747f01777448559d5961c0cdee143a4ce7461 (patch)
treeca3adedca7109c0520d02dfa4bafd96e0842fd04 /meta/lib/oeqa/selftest/cases
parent670bc40b695dcafc14832ccb318044d08e832aac (diff)
downloadpoky-34c747f01777448559d5961c0cdee143a4ce7461.tar.gz
conf: Move selftest config to dedicated inc file
Create a no-gplv3.inc file based upon knowledge currently encoded into one of the selftests. There is a risk that people try and take this idea too far, or have unrealistic expectations. That said, it would be better to collect this knowledge together in one location rather than handling it piecemeal. Therefore move the configuration information from the test into a common incude file. (From OE-Core rev: fb822fb2029c69934cf43073f95b396c2d60298e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases')
-rw-r--r--meta/lib/oeqa/selftest/cases/incompatible_lic.py16
1 files changed, 2 insertions, 14 deletions
diff --git a/meta/lib/oeqa/selftest/cases/incompatible_lic.py b/meta/lib/oeqa/selftest/cases/incompatible_lic.py
index 1597d30ab0..f4af67a239 100644
--- a/meta/lib/oeqa/selftest/cases/incompatible_lic.py
+++ b/meta/lib/oeqa/selftest/cases/incompatible_lic.py
@@ -144,20 +144,8 @@ INCOMPATIBLE_LICENSE:pn-core-image-minimal = "GPL-3.0* LGPL-3.0*"
144IMAGE_CLASSES += "testimage" 144IMAGE_CLASSES += "testimage"
145INCOMPATIBLE_LICENSE:pn-core-image-full-cmdline = "GPL-3.0* LGPL-3.0*" 145INCOMPATIBLE_LICENSE:pn-core-image-full-cmdline = "GPL-3.0* LGPL-3.0*"
146INCOMPATIBLE_LICENSE:pn-core-image-weston = "GPL-3.0* LGPL-3.0*" 146INCOMPATIBLE_LICENSE:pn-core-image-weston = "GPL-3.0* LGPL-3.0*"
147# Settings for full-cmdline 147
148RDEPENDS:packagegroup-core-full-cmdline-utils:remove = "bash bc coreutils cpio ed findutils gawk grep mc mc-fish mc-helpers mc-helpers-perl sed tar time" 148require conf/distro/include/no-gplv3.inc
149RDEPENDS:packagegroup-core-full-cmdline-dev-utils:remove = "diffutils m4 make patch"
150RDEPENDS:packagegroup-core-full-cmdline-multiuser:remove = "gzip"
151# Settings for weston
152# direct gpl3 dependencies
153RRECOMMENDS:packagegroup-base-vfat:remove = "dosfstools"
154PACKAGECONFIG:remove:pn-bluez5 = "readline"
155# dnf pulls in gpg which is gpl3; it also pulls in python3-rpm which pulls in rpm-build which pulls in bash
156# so install rpm but not dnf
157IMAGE_FEATURES:remove:pn-core-image-weston = "package-management"
158CORE_IMAGE_EXTRA_INSTALL:pn-core-image-weston += "rpm"
159# matchbox-terminal depends on vte, which is gpl3
160CORE_IMAGE_BASE_INSTALL:remove:pn-core-image-weston = "matchbox-terminal"
161""") 149""")
162 bitbake('core-image-full-cmdline core-image-weston') 150 bitbake('core-image-full-cmdline core-image-weston')
163 bitbake('-c testimage core-image-full-cmdline core-image-weston') 151 bitbake('-c testimage core-image-full-cmdline core-image-weston')