This class calls d.getVar('DEPLOY_DIR_IMAGE') twice within the same method, but DEPLOY_DIR_IMAGE variable won't change during the run of this class, so only retrieve it once.
Signed-off-by: Koen Kooi <koen.k...@oss.qualcomm.com> --- meta/classes-recipe/uki.bbclass | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/classes-recipe/uki.bbclass b/meta/classes-recipe/uki.bbclass index 92f690526d..c71cf41182 100644 --- a/meta/classes-recipe/uki.bbclass +++ b/meta/classes-recipe/uki.bbclass @@ -130,8 +130,6 @@ python do_uki() { initramfs_image = "%s" % (d.getVar('INITRD_ARCHIVE')) ukify_cmd += " --initrd=%s" % (os.path.join(deploy_dir_image, initramfs_image)) - deploy_dir_image = d.getVar('DEPLOY_DIR_IMAGE') - # kernel kernel_filename = d.getVar('UKI_KERNEL_FILENAME') or None if kernel_filename: -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#210945): https://lists.openembedded.org/g/openembedded-core/message/210945 Mute This Topic: https://lists.openembedded.org/mt/111033551/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-