diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-04 11:58:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-05 14:06:10 +0000 |
commit | 34c747f01777448559d5961c0cdee143a4ce7461 (patch) | |
tree | ca3adedca7109c0520d02dfa4bafd96e0842fd04 /meta/lib/oeqa/selftest/cases/incompatible_lic.py | |
parent | 670bc40b695dcafc14832ccb318044d08e832aac (diff) | |
download | poky-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/incompatible_lic.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/incompatible_lic.py | 16 |
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*" | |||
144 | IMAGE_CLASSES += "testimage" | 144 | IMAGE_CLASSES += "testimage" |
145 | INCOMPATIBLE_LICENSE:pn-core-image-full-cmdline = "GPL-3.0* LGPL-3.0*" | 145 | INCOMPATIBLE_LICENSE:pn-core-image-full-cmdline = "GPL-3.0* LGPL-3.0*" |
146 | INCOMPATIBLE_LICENSE:pn-core-image-weston = "GPL-3.0* LGPL-3.0*" | 146 | INCOMPATIBLE_LICENSE:pn-core-image-weston = "GPL-3.0* LGPL-3.0*" |
147 | # Settings for full-cmdline | 147 | |
148 | RDEPENDS: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" | 148 | require conf/distro/include/no-gplv3.inc |
149 | RDEPENDS:packagegroup-core-full-cmdline-dev-utils:remove = "diffutils m4 make patch" | ||
150 | RDEPENDS:packagegroup-core-full-cmdline-multiuser:remove = "gzip" | ||
151 | # Settings for weston | ||
152 | # direct gpl3 dependencies | ||
153 | RRECOMMENDS:packagegroup-base-vfat:remove = "dosfstools" | ||
154 | PACKAGECONFIG: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 | ||
157 | IMAGE_FEATURES:remove:pn-core-image-weston = "package-management" | ||
158 | CORE_IMAGE_EXTRA_INSTALL:pn-core-image-weston += "rpm" | ||
159 | # matchbox-terminal depends on vte, which is gpl3 | ||
160 | CORE_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') |