mirror of
https://github.com/bin456789/reinstall.git
synced 2025-06-08 13:29:58 +00:00
windows: vista 禁用气球驱动
This commit is contained in:
parent
6a57249015
commit
14ef2c8269
11
trans.sh
11
trans.sh
@ -6069,8 +6069,6 @@ EOF
|
|||||||
# 可改成直接从 github commit 下载 win7 173(sha1) 176(sha256) 全家桶?
|
# 可改成直接从 github commit 下载 win7 173(sha1) 176(sha256) 全家桶?
|
||||||
# 国内可使用 jsdelivr 加速 github
|
# 国内可使用 jsdelivr 加速 github
|
||||||
|
|
||||||
# 2008 安装的气球驱动不能用,需要到硬件管理器重新安装设备才能用,无需更新驱动
|
|
||||||
|
|
||||||
# 2k12
|
# 2k12
|
||||||
# https://github.com/virtio-win/virtio-win-pkg-scripts/issues/61
|
# https://github.com/virtio-win/virtio-win-pkg-scripts/issues/61
|
||||||
# 217 ~ 271 2k12 证书有问题,红帽的 virtio-win-1.9.45 没问题
|
# 217 ~ 271 2k12 证书有问题,红帽的 virtio-win-1.9.45 没问题
|
||||||
@ -6118,8 +6116,13 @@ EOF
|
|||||||
mkdir -p $drv/virtio
|
mkdir -p $drv/virtio
|
||||||
mount -o ro $drv/virtio.iso $drv/virtio
|
mount -o ro $drv/virtio.iso $drv/virtio
|
||||||
|
|
||||||
# -not -ipath "*/balloon/*"
|
# vista 如果安装气动驱动,会报错 windows could not configure one or more system components
|
||||||
cp_drivers $drv/virtio -ipath "*/$virtio_sys/$arch/*" "$@"
|
# 2008 安装的气球驱动不能用,需要到硬件管理器重新安装设备才能用,无需更新驱动
|
||||||
|
if [ "$product_ver" = vista ]; then
|
||||||
|
cp_drivers $drv/virtio -ipath "*/$virtio_sys/$arch/*" "$@" -not -ipath "*/balloon/*"
|
||||||
|
else
|
||||||
|
cp_drivers $drv/virtio -ipath "*/$virtio_sys/$arch/*" "$@"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
# coreutils 的 cp mv rm 才有 -v 参数
|
# coreutils 的 cp mv rm 才有 -v 参数
|
||||||
apk add 7zip file coreutils
|
apk add 7zip file coreutils
|
||||||
|
Loading…
x
Reference in New Issue
Block a user