diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 0772363f18..7e4bb696cf 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -81,11 +81,13 @@ IMAGE_TYPE_vmdk = '${@base_contains("IMAGE_FSTYPES", "vmdk", "vmdk", "empty", d) | |||
81 | inherit image-${IMAGE_TYPE_vmdk} | 81 | inherit image-${IMAGE_TYPE_vmdk} |
82 | 82 | ||
83 | python () { | 83 | python () { |
84 | deps = d.getVarFlag('do_rootfs', 'depends') or "" | 84 | deps = " " + imagetypes_getdepends(d) |
85 | deps += imagetypes_getdepends(d) | 85 | d.appendVarFlag('do_rootfs', 'depends', deps) |
86 | |||
87 | deps = "" | ||
86 | for dep in (d.getVar('EXTRA_IMAGEDEPENDS', True) or "").split(): | 88 | for dep in (d.getVar('EXTRA_IMAGEDEPENDS', True) or "").split(): |
87 | deps += " %s:do_populate_sysroot" % dep | 89 | deps += " %s:do_populate_sysroot" % dep |
88 | d.setVarFlag('do_rootfs', 'depends', deps) | 90 | d.appendVarFlag('do_build', 'depends', deps) |
89 | 91 | ||
90 | # If we don't do this we try and run the mapping hooks while parsing which is slow | 92 | # If we don't do this we try and run the mapping hooks while parsing which is slow |
91 | # bitbake should really provide something to let us know this... | 93 | # bitbake should really provide something to let us know this... |