Files
pmaports-rtwo/device/testing/device-nokia-ant/generate_signed_boot.sh
T

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