mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
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>
This commit is contained in:
@@ -145,15 +145,6 @@ inherit ${IMAGE_TYPE_vm}
|
||||
IMAGE_TYPE_container = '${@bb.utils.contains("IMAGE_FSTYPES", "container", "image-container", "", d)}'
|
||||
inherit ${IMAGE_TYPE_container}
|
||||
|
||||
def build_uboot(d):
|
||||
if 'u-boot' in (d.getVar('IMAGE_FSTYPES') or ''):
|
||||
return "image_types_uboot"
|
||||
else:
|
||||
return ""
|
||||
|
||||
IMAGE_TYPE_uboot = "${@build_uboot(d)}"
|
||||
inherit ${IMAGE_TYPE_uboot}
|
||||
|
||||
IMAGE_TYPE_wic = "image_types_wic"
|
||||
inherit ${IMAGE_TYPE_wic}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user