feat: Avoid ISO rebuilding for dramatically faster preparation (#2032)

This commit is contained in:
Kroese
2026-07-31 22:05:55 +02:00
committed by GitHub
parent 2f7e3d1903
commit aa9584df90
8 changed files with 1614 additions and 972 deletions
+25 -1
View File
@@ -11,7 +11,6 @@ set -Eeuo pipefail
: "${EDITION:=""}"
: "${MANUAL:=""}"
: "${REMOVE:=""}"
: "${REBUILD:=""}"
: "${VERSION:=""}"
: "${COMMAND:=""}"
: "${DETECTED:=""}"
@@ -976,6 +975,31 @@ getVersion() {
return 0
}
skipVersion() {
local id="$1"
case "${id,,}" in
"win9"* | "winxp"* | "win2k"* | "win2003"* | "reactos" )
return 0 ;;
esac
return 1
}
isLegacy() {
local id="$1"
case "${id,,}" in
"win9"* | "win2k"* | "winxp"* | "win2003"* | \
"winvista"* | "win7"* | "win2008"* | "reactos" )
return 0 ;;
esac
return 1
}
switchEdition() {
local -n id="$1"