1
0
Эх сурвалжийг харах

feat: Faster ESD extraction (#484)

Kroese 1 жил өмнө
parent
commit
47d2d2294c
2 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 2 2
      src/install.sh
  2. 1 1
      src/power.sh

+ 2 - 2
src/install.sh

@@ -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}
   }

+ 1 - 1
src/power.sh

@@ -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