summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/incompatible_lic.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/incompatible_lic.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/incompatible_lic.py14
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):
85class IncompatibleLicensePerImageTests(OESelftestTestCase): 85class IncompatibleLicensePerImageTests(OESelftestTestCase):
86 def default_config(self): 86 def default_config(self):
87 return """ 87 return """
88IMAGE_INSTALL_append = " bash" 88IMAGE_INSTALL:append = " bash"
89INCOMPATIBLE_LICENSE_pn-core-image-minimal = "GPL-3.0 LGPL-3.0" 89INCOMPATIBLE_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"
118class NoGPL3InImagesTests(OESelftestTestCase): 118class NoGPL3InImagesTests(OESelftestTestCase):
119 def test_core_image_minimal(self): 119 def test_core_image_minimal(self):
120 self.write_config(""" 120 self.write_config("""
121INCOMPATIBLE_LICENSE_pn-core-image-minimal = "GPL-3.0 LGPL-3.0" 121INCOMPATIBLE_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("""
127INHERIT += "testimage"\n 127INHERIT += "testimage"\n
128INCOMPATIBLE_LICENSE_pn-core-image-full-cmdline = "GPL-3.0 LGPL-3.0"\n 128INCOMPATIBLE_LICENSE:pn-core-image-full-cmdline = "GPL-3.0 LGPL-3.0"\n
129RDEPENDS_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 129RDEPENDS: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
130RDEPENDS_packagegroup-core-full-cmdline-dev-utils_remove = "diffutils m4 make patch"\n 130RDEPENDS:packagegroup-core-full-cmdline-dev-utils:remove = "diffutils m4 make patch"\n
131RDEPENDS_packagegroup-core-full-cmdline-multiuser_remove = "gzip"\n 131RDEPENDS: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')