From: Jookia Date: Thu, 9 May 2024 10:40:20 +0000 (+0100) Subject: populate_sdk_ext.bbclass: Fix undefined variable error X-Git-Tag: uninative-4.5~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69ead1f2d403e6a0e5365ce4e89288f846d3ef33;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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. Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass b/meta/classes-recipe/populate_sdk_ext.bbclass index f5687e58997..09d5e2aeb66 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):