1
0
mirror of https://github.com/dockur/windows.git synced 2026-07-27 21:42:36 +07:00

fix: Read boot image offset during legacy fallback (#1987)

This commit is contained in:
Kroese
2026-07-26 06:40:59 +02:00
committed by GitHub
parent 0d0dd7be87
commit b90ded928b
+7
View File
@@ -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