mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
uki.bbclass: remove duplicate d.getVar('DEPLOY_DIR_IMAGE')
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.
(From OE-Core rev: 6866da9f3a273ed7217e9edfca299fc2e68b2f75)
Signed-off-by: Koen Kooi <koen.kooi@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3582905ff9
commit
f555c53c1e
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user