diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/incompatible_lic.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/incompatible_lic.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/lib/oeqa/selftest/cases/incompatible_lic.py b/meta/lib/oeqa/selftest/cases/incompatible_lic.py index 152da6332a..93be434650 100644 --- a/meta/lib/oeqa/selftest/cases/incompatible_lic.py +++ b/meta/lib/oeqa/selftest/cases/incompatible_lic.py | |||
@@ -85,8 +85,8 @@ class IncompatibleLicenseTests(OESelftestTestCase): | |||
85 | class IncompatibleLicensePerImageTests(OESelftestTestCase): | 85 | class IncompatibleLicensePerImageTests(OESelftestTestCase): |
86 | def default_config(self): | 86 | def default_config(self): |
87 | return """ | 87 | return """ |
88 | IMAGE_INSTALL_append = " bash" | 88 | IMAGE_INSTALL:append = " bash" |
89 | INCOMPATIBLE_LICENSE_pn-core-image-minimal = "GPL-3.0 LGPL-3.0" | 89 | INCOMPATIBLE_LICENSE:pn-core-image-minimal = "GPL-3.0 LGPL-3.0" |
90 | """ | 90 | """ |
91 | 91 | ||
92 | def test_bash_default(self): | 92 | def test_bash_default(self): |
@@ -118,17 +118,17 @@ INCOMPATIBLE_LICENSE_pn-core-image-minimal = "GPL-3.0 LGPL-3.0" | |||
118 | class NoGPL3InImagesTests(OESelftestTestCase): | 118 | class NoGPL3InImagesTests(OESelftestTestCase): |
119 | def test_core_image_minimal(self): | 119 | def test_core_image_minimal(self): |
120 | self.write_config(""" | 120 | self.write_config(""" |
121 | INCOMPATIBLE_LICENSE_pn-core-image-minimal = "GPL-3.0 LGPL-3.0" | 121 | 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(self): |
126 | self.write_config(""" | 126 | self.write_config(""" |
127 | INHERIT += "testimage"\n | 127 | INHERIT += "testimage"\n |
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"\n |
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 | 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 |
130 | RDEPENDS_packagegroup-core-full-cmdline-dev-utils_remove = "diffutils m4 make patch"\n | 130 | RDEPENDS:packagegroup-core-full-cmdline-dev-utils:remove = "diffutils m4 make patch"\n |
131 | RDEPENDS_packagegroup-core-full-cmdline-multiuser_remove = "gzip"\n | 131 | RDEPENDS:packagegroup-core-full-cmdline-multiuser:remove = "gzip"\n |
132 | """) | 132 | """) |
133 | bitbake('core-image-full-cmdline') | 133 | bitbake('core-image-full-cmdline') |
134 | bitbake('-c testimage core-image-full-cmdline') | 134 | bitbake('-c testimage core-image-full-cmdline') |