diff options
author | Tom Rini <trini@konsulko.com> | 2017-07-21 18:06:34 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-05 22:39:48 +0000 |
commit | d096d7e850f12d7440d285b4eaa6ed1c61558ef5 (patch) | |
tree | c176a852f5af35e7c65f3e0b67ae6b36dbba30fb /meta/classes/image.bbclass | |
parent | ebb625a140ef67d65dca1b262304377814eb8ed4 (diff) | |
download | poky-d096d7e850f12d7440d285b4eaa6ed1c61558ef5.tar.gz |
image_types.bbclass: Make u-boot signed images more versatile
With the introduction of chaining compression/conversion support we can
convert the old image_types_uboot.bbclass code that did a hand-chaining
of a set of ${filesystem}.${compression} into generic and arbitrary
support to sign whatever the user wants to sign for their image.
This, for the record, does remove setting a valid compression type in
the record in favour of just saying none. This is not a generally
useful feature in U-Boot and I believe being versatile in terms of being
able to pass in arbitrary compressions is more important.
(From OE-Core rev: 979ff606d8c4c6f66c6dc533a92212f18708089e)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 9c9f14a99a..18564204af 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -145,15 +145,6 @@ inherit ${IMAGE_TYPE_vm} | |||
145 | IMAGE_TYPE_container = '${@bb.utils.contains("IMAGE_FSTYPES", "container", "image-container", "", d)}' | 145 | IMAGE_TYPE_container = '${@bb.utils.contains("IMAGE_FSTYPES", "container", "image-container", "", d)}' |
146 | inherit ${IMAGE_TYPE_container} | 146 | inherit ${IMAGE_TYPE_container} |
147 | 147 | ||
148 | def build_uboot(d): | ||
149 | if 'u-boot' in (d.getVar('IMAGE_FSTYPES') or ''): | ||
150 | return "image_types_uboot" | ||
151 | else: | ||
152 | return "" | ||
153 | |||
154 | IMAGE_TYPE_uboot = "${@build_uboot(d)}" | ||
155 | inherit ${IMAGE_TYPE_uboot} | ||
156 | |||
157 | IMAGE_TYPE_wic = "image_types_wic" | 148 | IMAGE_TYPE_wic = "image_types_wic" |
158 | inherit ${IMAGE_TYPE_wic} | 149 | inherit ${IMAGE_TYPE_wic} |
159 | 150 | ||