mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-29 22:20:21 +00:00
fix(deck): Work around Steam marking some non-deck devices as pre-release hardware
This commit is contained in:
parent
2e16fc50f7
commit
0b9615c3b1
@ -25,6 +25,7 @@ Patch9: fstrim.patch
|
||||
Patch10: cursor-path.patch
|
||||
Patch11: ntfs.patch
|
||||
Patch12: more-time.patch
|
||||
Patch13: supported-hardware.patch
|
||||
|
||||
Requires: python3
|
||||
Requires: python3-evdev
|
||||
|
15
spec_files/jupiter-hw-support/supported-hw.patch
Normal file
15
spec_files/jupiter-hw-support/supported-hw.patch
Normal file
@ -0,0 +1,15 @@
|
||||
--- a/usr/bin/jupiter-check-support
|
||||
+++ b/usr/bin/jupiter-check-support
|
||||
@@ -2,6 +2,12 @@
|
||||
|
||||
set -e
|
||||
|
||||
+SYS_ID="$(/usr/libexec/hwsupport/sysid)"
|
||||
+if [[ ! ":Galileo:Jupiter:" =~ ":$SYS_ID:" ]]; then
|
||||
+ echo "Supported: yes"
|
||||
+ exit 0
|
||||
+fi
|
||||
+
|
||||
product_serial="$(cat /sys/devices/virtual/dmi/id/product_serial)"
|
||||
|
||||
# Cutoff time for supported prototypes
|
Loading…
x
Reference in New Issue
Block a user