feat: skip makesecureboot if no secureboot partitions used to save time by not generating unified uefi images
@@ -168,7 +168,9 @@ else
cmdline="roothash=$(cat "$root_hash") root=/dev/mapper/root $cmdline"
fi
+if [ -s "$secureboot_partitions" ]; then
makesecureboot -r "$rootfs" -c "$cmdline" -v "$veritytab" -t "$timestamp" --key "/kernel.key" --cert "/kernel.crt" < "$secureboot_partitions"
+fi
cat "$partitions" "$overlay_partitions" >&3
