[OE-core] [PATCH] kernel-fitimage.bbclass: Check value of UBOOT_SIGN_ENABLE
Nathan Rossi
nathan at nathanrossi.com
Wed Nov 23 05:29:08 UTC 2016
Just pinging these patches, to see if there were any issues or
comments. I realize I sent them just before a release so it was very
likely they would get lost in the noise.
Thanks,
Nathan
On 21 October 2016 at 22:07, Nathan Rossi <nathan at nathanrossi.com> wrote:
> Check the value of UBOOT_SIGN_ENABLE, as it is defaulted to "0" which
> for matches as True in python due to being a non-empty string.
>
> Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
> ---
> meta/classes/kernel-fitimage.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
> index 8580247f82..3bbf91f65a 100644
> --- a/meta/classes/kernel-fitimage.bbclass
> +++ b/meta/classes/kernel-fitimage.bbclass
> @@ -26,7 +26,7 @@ python __anonymous () {
> # Verified boot will sign the fitImage and append the public key to
> # U-boot dtb. We ensure the U-Boot dtb is deployed before assembling
> # the fitImage:
> - if d.getVar('UBOOT_SIGN_ENABLE', True):
> + if d.getVar('UBOOT_SIGN_ENABLE', True) == "1":
> uboot_pn = d.getVar('PREFERRED_PROVIDER_u-boot', True) or 'u-boot'
> d.appendVarFlag('do_assemble_fitimage', 'depends', ' %s:do_deploy' % uboot_pn)
> }
> --
> 2.9.3
More information about the Openembedded-core
mailing list