Update install.sh

This commit is contained in:
Kroese
2026-09-01 20:12:33 +02:00
committed by GitHub
parent d0239b9318
commit 35277c4886
+5 -6
View File
@@ -1423,8 +1423,7 @@ addDrivers() {
fi fi
if ! bsdtar -xf /var/drivers.txz -C "$drivers" \ if ! bsdtar -xf /var/drivers.txz -C "$drivers" \
--exclude='win9x' --exclude='sata' --exclude='qbochs' \ --exclude='win9x' --exclude='sata' --exclude='qbochs'; then
--exclude='vmsvga'; then
error "Failed to extract drivers from archive!" && return 1 error "Failed to extract drivers from archive!" && return 1
fi fi
@@ -1439,11 +1438,10 @@ addDrivers() {
mkdir -p "$dst" || return 1 mkdir -p "$dst" || return 1
cp -Lr "$dest/." "$dst" || return 1 cp -Lr "$dest/." "$dst" || return 1
# Install the VirtIO display driver explicitly from SetupComplete.cmd so it # Install display drivers explicitly from SetupComplete.cmd so it
# cannot disrupt Windows Setup by loading through the WinPE driver path. # cannot disrupt Windows Setup by loading through the WinPE driver path.
if ! isLegacy "$version"; then rm -rf "$dest/vmsvga" || return 1
rm -rf "$dest/viogpudo" || return 1 rm -rf "$dest/viogpudo" || return 1
fi
local winpe="$stage/$target" local winpe="$stage/$target"
rm -rf "$winpe" || return 1 rm -rf "$winpe" || return 1
@@ -1470,6 +1468,7 @@ selectDrivers() {
viorng viorng
viostor viostor
viomem viomem
vmsvga
NetKVM NetKVM
Balloon Balloon
vioscsi vioscsi