esd2iso: add all images in esd

This commit is contained in:
osy 2023-09-04 13:02:57 -07:00
parent 604859d17a
commit 5664c1bd67

View file

@ -76,7 +76,9 @@ extractEsd(){
esdImageCount=$(wimlib-imagex info $eFile | $awk '/Image Count:/ {print $3}')
verboseOn && echo "[DEBUG] image count in ESD: $esdImageCount"
(( $esdImageCount == 6 )) && images+=("6")
for (( i = 6; i <= esdImageCount; i++ )); do
images+=("$i")
done
#---------------
# Extract image 1 in the ESD to create the boot environment