[OE-core] [PATCH] kernel-fitimage: use sha256 checksum
Burton, Ross
ross.burton at intel.com
Wed Jan 17 15:38:25 UTC 2018
This and your other kernel-fitimage patches conflict, can you solve that
and send them again?
Ross
On 17 January 2018 at 09:28, Thomas Perrot <thomas.perrot at tupi.fr> wrote:
> Update the bbclass to use sha256 instead of sha1.
>
> Signed-off-by: Thomas Perrot <thomas.perrot at tupi.fr>
> ---
> meta/classes/kernel-fitimage.bbclass | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-
> fitimage.bbclass
> index a50f8a18ee..b8c2815fba 100644
> --- a/meta/classes/kernel-fitimage.bbclass
> +++ b/meta/classes/kernel-fitimage.bbclass
> @@ -100,7 +100,7 @@ EOF
> # $4 ... Compression type
> fitimage_emit_section_kernel() {
>
> - kernel_csum="sha1"
> + kernel_csum="sha256"
>
> ENTRYPOINT=${UBOOT_ENTRYPOINT}
> if [ -n "${UBOOT_ENTRYSYMBOL}" ]; then
> @@ -133,7 +133,7 @@ EOF
> # $3 ... Path to DTB image
> fitimage_emit_section_dtb() {
>
> - dtb_csum="sha1"
> + dtb_csum="sha256"
>
> cat << EOF >> ${1}
> fdt@${2} {
> @@ -157,7 +157,7 @@ EOF
> # $3 ... Path to setup image
> fitimage_emit_section_setup() {
>
> - setup_csum="sha1"
> + setup_csum="sha256"
>
> cat << EOF >> ${1}
> setup@${2} {
> @@ -184,7 +184,7 @@ EOF
> # $3 ... Path to ramdisk image
> fitimage_emit_section_ramdisk() {
>
> - ramdisk_csum="sha1"
> + ramdisk_csum="sha256"
> ramdisk_ctype="none"
> ramdisk_loadline=""
> ramdisk_entryline=""
> @@ -242,7 +242,7 @@ EOF
> # $6 ... default flag
> fitimage_emit_section_config() {
>
> - conf_csum="sha1"
> + conf_csum="sha256"
> if [ -n "${UBOOT_SIGN_ENABLE}" ] ; then
> conf_sign_keyname="${UBOOT_SIGN_KEYNAME}"
> fi
> --
> 2.13.6
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180117/49ebbe28/attachment-0002.html>
More information about the Openembedded-core
mailing list