flashers: heimdall-isorec: use heimdall_flash_isorec_kernel.sh (MR 2360)

This wrapper script, which was added in alpinelinux's heimdall 2.1.0
package, replaces heimdall_flash_kernel.sh and takes a fifth arg with
dtb name. The script then concatenates vmlinuz and the dtb into a
vmlinuz-dtb file and flashes it to the kernel partition.

Boot-deploy was previously responsible for creating vmlinuz-dtb, but
to save disk space we have moved away from creating it
unconditionally.

Fixes: https://gitlab.com/postmarketOS/boot-deploy/-/issues/26
This commit is contained in:
Henrik Grimler 2024-07-09 22:10:23 +02:00 committed by Oliver Smith
parent 32541b2141
commit dd4eb60241
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 5 additions and 6 deletions

View file

@ -62,9 +62,7 @@ def variables(args: PmbArgs, flavor: str, method: str):
_partition_vbmeta = args.partition
_partition_dtbo = args.partition
_dtb = ""
if deviceinfo.append_dtb == "true":
_dtb = "-dtb"
_dtb = deviceinfo.dtb + ".dtb"
_no_reboot = ""
if getattr(args, "no_reboot", False):