]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
populate_sdk_ext.bbclass: Fix undefined variable error
authorJookia <contact@jookia.org>
Thu, 9 May 2024 10:40:20 +0000 (11:40 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 May 2024 11:12:37 +0000 (12:12 +0100)
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 <richard.purdie@linuxfoundation.org>
meta/classes-recipe/populate_sdk_ext.bbclass

index f5687e589973f3585808ef4aa1112420ab34bbca..09d5e2aeb663f3d584bf9b99d277876ac1ac9f13 100644 (file)
@@ -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):