From 45deb0c638d5310891a6942e5b60590d36776258 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 29 Jul 2026 16:58:57 +0200 Subject: [PATCH] feat: Inherit source compression when exporting install image (#2021) --- src/install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/install.sh b/src/install.sh index 727bfbe2..7f6aac7b 100644 --- a/src/install.sh +++ b/src/install.sh @@ -477,7 +477,6 @@ extractESD() { } count=$(awk '/Image Count:/ {print $3}' <<< "$info") - if [[ ! "$count" =~ ^[0-9]+$ ]]; then error "Cannot read the image count in ESD file!" return 1 @@ -566,7 +565,6 @@ extractESD() { info "$msg..." && html "$msg..." edition=$(getCatalog "$version" "name") - if [ -z "$edition" ]; then error "Invalid VERSION specified, value \"$version\" is not recognized!" return 1 @@ -582,7 +580,7 @@ extractESD() { /run/progress.sh "$installWim" "$installSize" "$msg ([P])..." & - wimlib-imagex export "$iso" "$index" "$installWim" --compress=LZMS --chunk-size 128K --quiet || { + wimlib-imagex export "$iso" "$index" "$installWim" --quiet || { local ret=$? fKill "progress.sh" error "Addition of $index to the $desc image failed ($ret)"