From b90ded928bb4b5a5dd21ce65294f999c116d623a Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 26 Jul 2026 06:40:59 +0200 Subject: [PATCH] fix: Read boot image offset during legacy fallback (#1987) --- src/image.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/image.sh b/src/image.sh index 5488fcb9..c2634d4f 100644 --- a/src/image.sh +++ b/src/image.sh @@ -1293,6 +1293,13 @@ extractBootImage() { rm -rf "$tmp" || true + local boot_info + + if ! boot_info=$(isoinfo -d -i "$iso"); then + error "Failed to read boot image information from $desc ISO!" + return 1 + fi + offset=$(awk '/Bootoff / { print $NF; exit }' <<< "$boot_info") if [ -z "$offset" ]; then