mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 19:55:49 +00:00
Update install.sh
This commit is contained in:
parent
8a036a2391
commit
fa5b789a8a
1 changed files with 3 additions and 3 deletions
|
|
@ -801,8 +801,6 @@ updateImage() {
|
|||
fi
|
||||
fi
|
||||
|
||||
wimlib-imagex update "$loc" "$index" --command "delete --force --recursive $path /\$WinPEDriver\$" >/dev/null || true
|
||||
|
||||
local msg="Adding drivers to image..."
|
||||
info "$msg" && html "$msg"
|
||||
|
||||
|
|
@ -817,6 +815,8 @@ updateImage() {
|
|||
local dest="$drivers/$target"
|
||||
mkdir -p "$dest"
|
||||
|
||||
wimlib-imagex update "$loc" "$index" --command "delete --force --recursive /$target" >/dev/null || true
|
||||
|
||||
addDriver "$DETECTED" "$drivers" "$target" "viofs"
|
||||
addDriver "$DETECTED" "$drivers" "$target" "sriov"
|
||||
addDriver "$DETECTED" "$drivers" "$target" "qxldod"
|
||||
|
|
@ -831,7 +831,7 @@ updateImage() {
|
|||
addDriver "$DETECTED" "$drivers" "$target" "vioserial"
|
||||
addDriver "$DETECTED" "$drivers" "$target" "qemupciserial"
|
||||
|
||||
if ! wimlib-imagex update "$loc" "$index" --command "add $dest /" >/dev/null; then
|
||||
if ! wimlib-imagex update "$loc" "$index" --command "add $dest /$target" >/dev/null; then
|
||||
warn "Failed to add drivers to image!"
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue