Use wildcards in KMS test

This commit is contained in:
Simon Long 2022-03-03 13:44:47 +00:00
parent da29bba613
commit a2b49a272a
2 changed files with 9 additions and 3 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
raspi-config (20220303) bullseye; urgency=medium
* Use wildcards for KMS test
-- Simon Long <simon@raspberrypi.com> Thu, 03 Mar 2022 13:44:04 +0000
raspi-config (20220301) bullseye; urgency=medium
[ Serge Schneider ]

View File

@ -74,9 +74,9 @@ is_ssh() {
}
is_kms() {
if grep -s -q okay /proc/device-tree/soc/v3d@7ec00000/status \
/proc/device-tree/soc/firmwarekms@7e600000/status \
/proc/device-tree/v3dbus/v3d@7ec04000/status; then
if grep -s -q okay /proc/device-tree/soc/v3d@*/status \
/proc/device-tree/soc/firmwarekms@*/status \
/proc/device-tree/v3dbus/v3d@*/status; then
return 0
else
return 1