diff options
| -rw-r--r-- | classes/kernel-itbimage.bbclass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/classes/kernel-itbimage.bbclass b/classes/kernel-itbimage.bbclass index bb838ef19..448e2a6cc 100644 --- a/classes/kernel-itbimage.bbclass +++ b/classes/kernel-itbimage.bbclass | |||
| @@ -22,6 +22,14 @@ python __anonymous () { | |||
| 22 | image = d.getVar('INITRAMFS_IMAGE') | 22 | image = d.getVar('INITRAMFS_IMAGE') |
| 23 | if image: | 23 | if image: |
| 24 | d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') | 24 | d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') |
| 25 | def extraimage_getdepends(task): | ||
| 26 | deps = "" | ||
| 27 | for dep in (d.getVar('EXTRA_IMAGEDEPENDS') or "").split(): | ||
| 28 | deps += " %s:%s" % (dep, task) | ||
| 29 | return deps | ||
| 30 | |||
| 31 | d.appendVarFlag('do_image', 'depends', extraimage_getdepends('do_populate_lic')) | ||
| 32 | d.appendVarFlag('do_image_complete', 'depends', extraimage_getdepends('do_populate_sysroot')) | ||
| 25 | 33 | ||
| 26 | # Verified boot will sign the fitImage and append the public key to | 34 | # Verified boot will sign the fitImage and append the public key to |
| 27 | # U-Boot dtb. We ensure the U-Boot dtb is deployed before assembling | 35 | # U-Boot dtb. We ensure the U-Boot dtb is deployed before assembling |
