diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2016-01-14 19:17:08 -0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-15 11:59:42 +0000 |
commit | e914e2ac15e2f3c12952b68b685d57360c70a2de (patch) | |
tree | 8860b7e9809feceeb8905406e80cd40fafabec38 /meta/classes/image.bbclass | |
parent | ad32f65a2822bed2c970657317fa96b8dde26ca6 (diff) | |
download | poky-e914e2ac15e2f3c12952b68b685d57360c70a2de.tar.gz |
image.bbclass: Handle image base type dependency properly
When a base image type has an implicit dependency (from IMAGE_TYPEDEP)
this has to be taken into account. This is a regression introduced by
OE-Core:c2dab18 (image: Create separate tasks for rootfs construction).
The issue has been found when building meta-fsl-arm based images which
does not include the rootfs image type explicitly in IMAGE_FSTYPES but
instead is added, using IMAGE_TYPEDEP, for the 'sdcard.gz' image.
Reported-by: Fabio Berton <fabio.berton@ossystems.com.br>
(From OE-Core rev: 191c7be3a6cc52911f244323072433f6a1172bf1)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 8a09db1929..96666d529f 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -337,6 +337,9 @@ python () { | |||
337 | _add_type(dep) | 337 | _add_type(dep) |
338 | basedep = _image_base_type(dep) | 338 | basedep = _image_base_type(dep) |
339 | typedeps[baset].add(basedep) | 339 | typedeps[baset].add(basedep) |
340 | |||
341 | if baset != t: | ||
342 | _add_type(baset) | ||
340 | 343 | ||
341 | for t in alltypes[:]: | 344 | for t in alltypes[:]: |
342 | _add_type(t) | 345 | _add_type(t) |