summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index b346a6059a..437b8c7671 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -95,7 +95,8 @@ python __anonymous () {
95 d.setVar('ALLOW_EMPTY_%s-image-%s' % (kname, typelower), '1') 95 d.setVar('ALLOW_EMPTY_%s-image-%s' % (kname, typelower), '1')
96 96
97 image = d.getVar('INITRAMFS_IMAGE') 97 image = d.getVar('INITRAMFS_IMAGE')
98 if image: 98 image_bundle = d.getVar('INITRAMFS_IMAGE_BUNDLE')
99 if image and bb.utils.to_boolean(image_bundle, False):
99 d.appendVarFlag('do_bundle_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') 100 d.appendVarFlag('do_bundle_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
100 101
101 # NOTE: setting INITRAMFS_TASK is for backward compatibility 102 # NOTE: setting INITRAMFS_TASK is for backward compatibility