feat: Faster ESD extraction (#484)

This commit is contained in:
Kroese 2024-05-10 21:26:10 +02:00 committed by GitHub
parent f7986f57ce
commit 47d2d2294c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -523,7 +523,7 @@ extractESD() {
local msg="Extracting $desc environment..."
info "$msg" && html "$msg"
wimlib-imagex export "$iso" 2 "$bootWimFile" --compress=LZX --chunk-size 32K --quiet || {
wimlib-imagex export "$iso" 2 "$bootWimFile" --compress=none --quiet || {
retVal=$?
error "Adding WinPE failed" && return ${retVal}
}
@ -531,7 +531,7 @@ extractESD() {
local msg="Extracting $desc setup..."
info "$msg" && html "$msg"
wimlib-imagex export "$iso" 3 "$bootWimFile" --compress=LZX --chunk-size 32K --boot --quiet || {
wimlib-imagex export "$iso" 3 "$bootWimFile" --compress=none --boot --quiet || {
retVal=$?
error "Adding Windows Setup failed" && return ${retVal}
}

View File

@ -57,7 +57,7 @@ ready() {
return 1
fi
local line="Windows Boot Manager"
local line="\"Windows Boot Manager\""
if grep -Fq "$line" "$QEMU_PTY"; then
return 0
fi