mirror of
https://github.com/dockur/windows.git
synced 2026-09-13 21:38:22 +01:00
Update install.sh
This commit is contained in:
+4
-5
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user