Update build.func
This commit is contained in:
parent
c486b7b035
commit
6468f332e8
@ -1219,7 +1219,7 @@ EOF
|
|||||||
if [[ "${#combo_devices[@]}" -eq 1 && -e /dev/dri/card0 ]]; then
|
if [[ "${#combo_devices[@]}" -eq 1 && -e /dev/dri/card0 ]]; then
|
||||||
combo_devices+=("/dev/dri/card0")
|
combo_devices+=("/dev/dri/card0")
|
||||||
fi
|
fi
|
||||||
echo "combo_devices=${combo_devices[*]}"
|
#echo "combo_devices=${combo_devices[*]}"
|
||||||
|
|
||||||
pci_addr=$(basename "$bypath" | cut -d- -f1 --complement | sed 's/-render//' || true)
|
pci_addr=$(basename "$bypath" | cut -d- -f1 --complement | sed 's/-render//' || true)
|
||||||
pci_info=$(lspci -nn | grep "${pci_addr#0000:}" || true)
|
pci_info=$(lspci -nn | grep "${pci_addr#0000:}" || true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user