From 136f0ee780ef6c14950549cb8b8b44e5fe87ab23 Mon Sep 17 00:00:00 2001 From: Jookia Date: Thu, 9 May 2024 11:40:20 +0100 Subject: [PATCH] populate_sdk_ext.bbclass: Fix undefined variable error The variable uninative_checksum is returned without being set, causing a build error. Set it to None by default instead. (From OE-Core rev: 69ead1f2d403e6a0e5365ce4e89288f846d3ef33) Signed-off-by: Richard Purdie --- meta/classes-recipe/populate_sdk_ext.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass b/meta/classes-recipe/populate_sdk_ext.bbclass index f5687e5899..09d5e2aeb6 100644 --- a/meta/classes-recipe/populate_sdk_ext.bbclass +++ b/meta/classes-recipe/populate_sdk_ext.bbclass @@ -276,6 +276,8 @@ def write_bblayers_conf(d, baseoutpath, sdkbblayers): def copy_uninative(d, baseoutpath): import shutil + uninative_checksum = None + # Copy uninative tarball # For now this is where uninative.bbclass expects the tarball if bb.data.inherits_class('uninative', d):