From: Peter Kjellerstedt <peter.kjellerst...@axis.com> If, e.g., license-file-missing is added to ERROR_QA, then the build should fail if any licenses are missing.
Signed-off-by: Peter Kjellerstedt <peter.kjellerst...@axis.com> Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> (cherry picked from commit dd91c4bec8335cab2bbd0b33caf50d314ca72bdc) Signed-off-by: Steve Sakoman <st...@sakoman.com> --- meta/classes/license_image.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/license_image.bbclass b/meta/classes/license_image.bbclass index 7e1d0e08a9..3213ea758e 100644 --- a/meta/classes/license_image.bbclass +++ b/meta/classes/license_image.bbclass @@ -104,6 +104,8 @@ def write_license_files(d, license_manifest, pkg_dic, rootfs=True): "The license listed %s was not in the "\ "licenses collected for recipe %s" % (lic, pkg_dic[pkg]["PN"]), d) + oe.qa.exit_if_errors(d) + # Two options here: # - Just copy the manifest # - Copy the manifest and the license directories -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#166145): https://lists.openembedded.org/g/openembedded-core/message/166145 Mute This Topic: https://lists.openembedded.org/mt/91334180/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-