mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 03:45:48 +00:00
feat: Check driver availability
This commit is contained in:
parent
4c4d9c52bc
commit
a9649bef03
1 changed files with 1 additions and 1 deletions
|
|
@ -1928,7 +1928,7 @@ prepareInstall() {
|
||||||
sed -i '/^\[HardwareIdsDatabase\]/s/$/\nPCI\\VEN_1AF4\&DEV_1001\&SUBSYS_00000000=\"viostor\"/' "$target/TXTSETUP.SIF"
|
sed -i '/^\[HardwareIdsDatabase\]/s/$/\nPCI\\VEN_1AF4\&DEV_1001\&SUBSYS_00000000=\"viostor\"/' "$target/TXTSETUP.SIF"
|
||||||
|
|
||||||
if [ ! -d "$drivers/sata/xp/$arch" ]; then
|
if [ ! -d "$drivers/sata/xp/$arch" ]; then
|
||||||
error "Failed to locate required SATA drivers!" && return 1
|
error "Failed to locate required SATA drivers!" && return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p "$dir/\$OEM\$/\$1/Drivers/sata"
|
mkdir -p "$dir/\$OEM\$/\$1/Drivers/sata"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue