diff options
Diffstat (limited to 'meta/lib/oeqa')
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/incompatible_lic.py | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/meta/lib/oeqa/selftest/cases/incompatible_lic.py b/meta/lib/oeqa/selftest/cases/incompatible_lic.py index aa8e085754..fd3b3f409e 100644 --- a/meta/lib/oeqa/selftest/cases/incompatible_lic.py +++ b/meta/lib/oeqa/selftest/cases/incompatible_lic.py | |||
| @@ -122,14 +122,26 @@ INCOMPATIBLE_LICENSE:pn-core-image-minimal = "GPL-3.0 LGPL-3.0" | |||
| 122 | """) | 122 | """) |
| 123 | bitbake('core-image-minimal') | 123 | bitbake('core-image-minimal') |
| 124 | 124 | ||
| 125 | def test_core_image_full_cmdline(self): | 125 | def test_core_image_full_cmdline_weston(self): |
| 126 | self.write_config(""" | 126 | self.write_config(""" |
| 127 | INHERIT += "testimage"\n | 127 | INHERIT += "testimage" |
| 128 | INCOMPATIBLE_LICENSE:pn-core-image-full-cmdline = "GPL-3.0 LGPL-3.0"\n | 128 | INCOMPATIBLE_LICENSE:pn-core-image-full-cmdline = "GPL-3.0 LGPL-3.0" |
| 129 | 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"\n | 129 | INCOMPATIBLE_LICENSE:pn-core-image-weston = "GPL-3.0 LGPL-3.0" |
| 130 | RDEPENDS:packagegroup-core-full-cmdline-dev-utils:remove = "diffutils m4 make patch"\n | 130 | # Settings for full-cmdline |
| 131 | RDEPENDS:packagegroup-core-full-cmdline-multiuser:remove = "gzip"\n | 131 | 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" |
| 132 | RDEPENDS:packagegroup-core-full-cmdline-dev-utils:remove = "diffutils m4 make patch" | ||
| 133 | RDEPENDS:packagegroup-core-full-cmdline-multiuser:remove = "gzip" | ||
| 134 | # Settings for weston | ||
| 135 | # direct gpl3 dependencies | ||
| 136 | RRECOMMENDS:packagegroup-base-vfat:remove = "dosfstools" | ||
| 137 | PACKAGECONFIG:remove:pn-bluez5 = "readline" | ||
| 138 | # dnf pulls in gpg which is gpl3; it also pulls in python3-rpm which pulls in rpm-build which pulls in bash | ||
| 139 | # so install rpm but not dnf | ||
| 140 | IMAGE_FEATURES:remove:pn-core-image-weston = "package-management" | ||
| 141 | CORE_IMAGE_EXTRA_INSTALL:pn-core-image-weston += "rpm" | ||
| 142 | # matchbox-terminal depends on vte, which is gpl3 | ||
| 143 | CORE_IMAGE_BASE_INSTALL:remove:pn-core-image-weston = "matchbox-terminal" | ||
| 132 | """) | 144 | """) |
| 133 | bitbake('core-image-full-cmdline') | 145 | bitbake('core-image-full-cmdline core-image-weston') |
| 134 | bitbake('-c testimage core-image-full-cmdline') | 146 | bitbake('-c testimage core-image-full-cmdline core-image-weston') |
| 135 | 147 | ||
