diff options
author | Michael Ho <Michael.Ho@bmw.de> | 2021-01-12 09:55:33 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2021-01-18 04:46:16 -1000 |
commit | 444118a185ff6cdd20ad0a10ffae7edfa9ab18c4 (patch) | |
tree | 2f1ab91f9623e73275a70607ddde594a0ed56e21 /meta/recipes-kernel/linux/linux-yocto_5.4.bb | |
parent | 7dfef3de5811002c7cab17c5eb2801e5a55a3a4d (diff) | |
download | openembedded-core-contrib-444118a185ff6cdd20ad0a10ffae7edfa9ab18c4.tar.gz |
license_image.bbclass: fix missing recipeinfo on self
Resolve a build bug where image recipes with a do_deploy task will fail.
If the image recipe inheriting license_image.bbclass has a deploy task, then
the function get_deployed_dependencies will add itself to the list of recipes
to get license information for.
However, image recipes don't generally deploy license info so this results in
an error.
File: '/nvme/poky/meta/classes/license_image.bbclass', lineno: 192, function: license_deployed_manifest
...
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/nvme/poky/build/tmp/deploy/licenses/core-image-minimal/recipeinfo'
Add a corner case to exclude the originating image recipe from the list of
dependencies to check.
Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 13fb39e49e55a0bc7c78b0bfdc372163b3f9e70a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-yocto_5.4.bb')
0 files changed, 0 insertions, 0 deletions