mirror of
https://github.com/dockur/windows.git
synced 2026-08-05 13:37:22 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ffa28eec4b |
+5
-3
@@ -338,12 +338,14 @@ skipUnattended() {
|
|||||||
|
|
||||||
# Standalone ESD files and nested archives are not directly bootable media,
|
# Standalone ESD files and nested archives are not directly bootable media,
|
||||||
# so they cannot use the manual-install fallback.
|
# so they cannot use the manual-install fallback.
|
||||||
[[ "${iso,,}" == *".esd" ]] && exit 60
|
if enabled "${UNPACK:-}" || [[ "${iso,,}" == *".esd" ]]; then
|
||||||
enabled "${UNPACK:-}" && exit 60
|
error "Failed to boot $iso because of its file rxtrnsion"
|
||||||
|
exit 60
|
||||||
|
fi
|
||||||
|
|
||||||
# When automatic preparation fails, inspect extracted media to determine
|
# When automatic preparation fails, inspect extracted media to determine
|
||||||
# whether it can still be booted manually using legacy firmware.
|
# whether it can still be booted manually using legacy firmware.
|
||||||
if [[ "${PLATFORM,,}" == "x64" ]] && [ -d "$dir" ]; then
|
if enabled "$aborted" && [[ "${PLATFORM,,}" == "x64" ]] && [ -d "$dir" ]; then
|
||||||
|
|
||||||
efi=$(find "$dir" -maxdepth 1 -type d -iname efi -print -quit) || return 1
|
efi=$(find "$dir" -maxdepth 1 -type d -iname efi -print -quit) || return 1
|
||||||
efi32=$(find "$dir" -maxdepth 3 -type f -ipath '*/efi/boot/bootia32.efi' -print -quit) || return 1
|
efi32=$(find "$dir" -maxdepth 3 -type f -ipath '*/efi/boot/bootia32.efi' -print -quit) || return 1
|
||||||
|
|||||||
Reference in New Issue
Block a user