Make sure to extract Win 7 bootloader from regular and multi-volume WIM file

This commit is contained in:
ValdikSS 2022-12-08 23:28:57 +03:00
parent 8dd14fc452
commit 8cd1b02b9d

View File

@ -178,7 +178,7 @@ function extract_bootmgfw_from_installwim() {
local fpath="$2/sources/install.wim" local fpath="$2/sources/install.wim"
[ ! -e "$fpath" ] && fpath="$2/sources/install.esd" [ ! -e "$fpath" ] && fpath="$2/sources/install.esd"
7z e "$fpath" -aoa -o"$3/efi/boot/" '?/Windows/Boot/EFI/bootmgfw.efi' 7z e "$fpath" -aoa -o"$3/efi/boot/" 'Windows/Boot/EFI/bootmgfw.efi' '?/Windows/Boot/EFI/bootmgfw.efi'
umount "$2" umount "$2"
} }