[meta-raspberrypi] bluez-firmware-rpidistro: add compatibility to oe-core/create-spdx

Message ID 20220414123656.474960-1-davide.gardenal@huawei.com
State New
Headers show
Series [meta-raspberrypi] bluez-firmware-rpidistro: add compatibility to oe-core/create-spdx | expand

Commit Message

Davide Gardenal April 14, 2022, 12:36 p.m. UTC
Add do_create_spdx dependency to fix error when LICENCE is not found

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
---
 .../bluez-firmware-rpidistro/bluez-firmware-rpidistro_git.bb    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andrei Gherzan April 20, 2022, 3:09 p.m. UTC | #1
Hi,

On Thu, 14 Apr 2022, at 13:36, Davide Gardenal wrote:
> Add do_create_spdx dependency to fix error when LICENCE is not found
>
> Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>

I have pulled this patch in https://github.com/agherzan/meta-raspberrypi/pull/1053.

Thanks,
Andrei

Patch

diff --git a/recipes-kernel/bluez-firmware-rpidistro/bluez-firmware-rpidistro_git.bb b/recipes-kernel/bluez-firmware-rpidistro/bluez-firmware-rpidistro_git.bb
index 2e3d1cc..b26e80e 100644
--- a/recipes-kernel/bluez-firmware-rpidistro/bluez-firmware-rpidistro_git.bb
+++ b/recipes-kernel/bluez-firmware-rpidistro/bluez-firmware-rpidistro_git.bb
@@ -39,7 +39,7 @@  do_extract_lic() {
 }
 # Must be before both do_install and do_populate_lic.  Putting it before
 # their common ancestor works; other approaches do not.
-addtask extract_lic after do_unpack before do_patch
+addtask extract_lic after do_unpack before do_patch do_create_spdx
 
 do_compile() {
     :