mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 04:00:06 +09:00
Use wildcards in KMS test
This commit is contained in:
parent
da29bba613
commit
a2b49a272a
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -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 ]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user