summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2019-05-23 23:42:20 +0800
committerJia Zhang <zhang.jia@linux.alibaba.com>2019-05-24 09:18:59 +0800
commit8fc7d850d7e655ec14d8cbea29663f5eda6a6d89 (patch)
tree247ea776783a8ab67d239222540eb035989c4e4d
parent0fbe3c26c5836b5a040d8799ffa70d95493930e3 (diff)
downloadmeta-secure-core-8fc7d850d7e655ec14d8cbea29663f5eda6a6d89.tar.gz
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 <hongxu.jia@windriver.com>
-rw-r--r--meta/recipes-core/images/kernel-initramfs.bb2
1 files changed, 1 insertions, 1 deletions
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 \
26python() { 26python() {
27 image = d.getVar('INITRAMFS_IMAGE', True) 27 image = d.getVar('INITRAMFS_IMAGE', True)
28 if image: 28 if image:
29 d.appendVarFlag('do_install', 'depends', ' ${INITRAMFS_IMAGE}:do_rootfs') 29 d.appendVarFlag('do_install', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
30} 30}
31 31
32do_unpack[depends] += "virtual/kernel:do_deploy" 32do_unpack[depends] += "virtual/kernel:do_deploy"