chore: Update fedora.patch for jupiter-hw-support

This commit is contained in:
Kyle Gospodnetich 2023-08-10 16:14:17 -07:00
parent 0b1bac30f9
commit 1aa21c5385

View File

@ -1,13 +1,3 @@
diff --git a/usr/bin/amd_system_info b/usr/bin/amd_system_info
index a5fbcb7..b76ef7e 100755
--- a/usr/bin/amd_system_info
+++ b/usr/bin/amd_system_info
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/sh
# script from AMD to use when reporting bugs to them
diff --git a/usr/bin/jupiter-biosupdate b/usr/bin/jupiter-biosupdate
index 7b7a206..273a162 100755
--- a/usr/bin/jupiter-biosupdate
@ -29,7 +19,7 @@ index bd56a57..0bef6f2 100755
set -e
diff --git a/usr/bin/jupiter-controller-update b/usr/bin/jupiter-controller-update
index 3abf837..77fdef9 100755
index 4f850b3..ce69763 100755
--- a/usr/bin/jupiter-controller-update
+++ b/usr/bin/jupiter-controller-update
@@ -1,4 +1,4 @@
@ -289,7 +279,7 @@ index 995ec8d..cdfa14b 100755
# These tend to persist, but they're not right on first boot
# TODO call is_ev2.sh (doesn't exist yet) to only run it there?
diff --git a/usr/lib/hwsupport/format-device.sh b/usr/lib/hwsupport/format-device.sh
index f2115dd..4ece38e 100755
index 6529e23..9de19b1 100755
--- a/usr/lib/hwsupport/format-device.sh
+++ b/usr/lib/hwsupport/format-device.sh
@@ -1,4 +1,4 @@
@ -297,7 +287,7 @@ index f2115dd..4ece38e 100755
+#!/usr/bin/sh
set -e
exec &> >(tee | logger -t steamos-format-device)
diff --git a/usr/lib/hwsupport/format-sdcard.sh b/usr/lib/hwsupport/format-sdcard.sh
index 36df682..3e13083 100755
--- a/usr/lib/hwsupport/format-sdcard.sh
@ -317,18 +307,8 @@ index c3d7add..68aa4e4 100755
set -e
diff --git a/usr/lib/hwsupport/power-button-handler.py b/usr/lib/hwsupport/power-button-handler.py
index 1a46251..cbf7857 100755
--- a/usr/lib/hwsupport/power-button-handler.py
+++ b/usr/lib/hwsupport/power-button-handler.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/bin/env python3 -u
import evdev
import threading
diff --git a/usr/lib/hwsupport/steamos-automount.sh b/usr/lib/hwsupport/steamos-automount.sh
index bdac3c4..547e923 100755
index 9e40c22..ce613b6 100755
--- a/usr/lib/hwsupport/steamos-automount.sh
+++ b/usr/lib/hwsupport/steamos-automount.sh
@@ -1,4 +1,4 @@
@ -387,3 +367,14 @@ index 5ee6d41..c662149 100755
import click
import crcmod
import datetime
diff --git a/usr/lib/hwsupport/power-button-handler.py b/usr/lib/hwsupport/power-button-handler.py
index 1a46251..73f2a3d 100755
--- a/usr/lib/hwsupport/power-button-handler.py
+++ b/usr/lib/hwsupport/power-button-handler.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
import evdev
import threading