Files
pmaports-rtwo/device/downstream/device-nokia-ant/generate_signed_boot.sh
T
2025-05-22 15:43:23 -07:00

6 lines
230 B
Bash

#!/bin/sh
# $1 is path to generated initramfs, we want to work on boot.img
bootimgfile=$(echo "${1}" | sed 's/initramfs/boot.img/g')
avbtool add_hash_footer --partition_name boot --image "${bootimgfile}" --dynamic_partition_size