@@ -159,10 +159,12 @@ class NoGPL3InImagesTests(OESelftestTestCase):
def test_core_image_minimal(self):
self.write_config("""
INCOMPATIBLE_LICENSE:pn-core-image-minimal = "GPL-3.0* LGPL-3.0*"
+INCOMPATIBLE_LICENSE_EXCEPTIONS:pn-core-image-minimal = "GCC-exception-3.1 Autoconf-exception-macro"
+ERROR_QA:remove:pn-core-image-minimal = "license-exception"
require conf/distro/include/no-gplv3.inc
""")
- bitbake('core-image-minimal')
+ bitbake('core-image-minimal core-image-minimal:do_populate_sdk')
@skipIfNotFeature('wayland', 'Test requires wayland to be in DISTRO_FEATURES')
def test_core_image_full_cmdline_weston(self):
Also run do_populate_sdk in test_core_image_minimal, to check that SDK host tools (e.g. nativesdk-autoconf) are not checked against the image's INCOMPATIBLE_LICENSE. GCC-exception-3.1 and Autoconf-exception-macro are added to the exceptions, as the SDK target sysroot includes libgcc and xz-src. AI-Generated: Claude Opus 5.5 (Claude Code) Signed-off-by: Sean Nyekjaer <sean@geanix.com> --- meta/lib/oeqa/selftest/cases/incompatible_lic.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)