From 8fc7d850d7e655ec14d8cbea29663f5eda6a6d89 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Thu, 23 May 2019 23:42:20 +0800 Subject: kernel-initramfs: depends on do_image_complete rather than do_rootfs ... |install: cannot stat 'tmp-glibc/deploy/images/intel-x86-64/secure-core-image-init ramfs-intel-x86-64.cpio.gz': No such file or directory ... Depends do_image_complete after required image generated Signed-off-by: Hongxu Jia --- meta/recipes-core/images/kernel-initramfs.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/images/kernel-initramfs.bb b/meta/recipes-core/images/kernel-initramfs.bb index cce46ab..2a3a1cd 100644 --- a/meta/recipes-core/images/kernel-initramfs.bb +++ b/meta/recipes-core/images/kernel-initramfs.bb @@ -26,7 +26,7 @@ BUNDLE = "${@'1' if d.getVar('INITRAMFS_IMAGE', True) and \ python() { image = d.getVar('INITRAMFS_IMAGE', True) if image: - d.appendVarFlag('do_install', 'depends', ' ${INITRAMFS_IMAGE}:do_rootfs') + d.appendVarFlag('do_install', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') } do_unpack[depends] += "virtual/kernel:do_deploy" -- cgit v1.2.3-54-g00ecf