build_utils: system_dlkm: AVB hashtree footer with SHA256

system_dlkm.img is being padded with avb hashtree footer with
SHA1 as hashing algorithm by default. Most devices uses SHA256
for the production images in the platform via board specific
flag BOARD_AVB_SYSTEM_DLKM_ADD_HASHTREE_FOOTER_ARGS.

Add --hash_algorithm sha256 to use SHA256 to make kernel built
dev image closer to platform built production image.

Bug: 331404372
Bug: 297270321
Test: avbtool info_image --image system_dlkm.img
Test: TH
Change-Id: I661eb48dc99bdd8ba0c8409793d85a3b52f60558
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
1 file changed