mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-03 17:37:08 +00:00
2f3f56b867
chore: Remove -bazzite package now that it's no longer needed fix: Add patch for dynamic user name in mounting script
77 lines
3.2 KiB
Diff
77 lines
3.2 KiB
Diff
diff --git a/etc/systemd/system/steamos-automount@.service b/etc/systemd/system/steamos-automount@.service
|
|
index e71a736..dd700da 100644
|
|
--- a/etc/systemd/system/steamos-automount@.service
|
|
+++ b/etc/systemd/system/steamos-automount@.service
|
|
@@ -14,6 +14,6 @@ Description=Mount removable drive %i and notify Steam
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=true
|
|
-ExecStart=/usr/lib/hwsupport/steamos-automount.sh add %i
|
|
-ExecStop=/usr/lib/hwsupport/steamos-automount.sh remove %i
|
|
-ExecReload=/usr/lib/hwsupport/steamos-automount.sh retrigger %i
|
|
+ExecStart=/usr/sbin/steamos-automount add %i
|
|
+ExecStop=/usr/sbin/steamos-automount remove %i
|
|
+ExecReload=/usr/sbin/steamos-automount retrigger %i
|
|
diff --git a/usr/bin/steamos-polkit-helpers/jupiter-amp-control b/usr/bin/steamos-polkit-helpers/jupiter-amp-control
|
|
index 3e0ed02..85bae6f 100755
|
|
--- a/usr/bin/steamos-polkit-helpers/jupiter-amp-control
|
|
+++ b/usr/bin/steamos-polkit-helpers/jupiter-amp-control
|
|
@@ -7,4 +7,4 @@ then
|
|
exec pkexec --disable-internal-agent "$0" "$@"
|
|
fi
|
|
|
|
-exec /usr/lib/hwsupport/jupiter-amp-control "$@"
|
|
+exec /usr/sbin/jupiter-amp-control "$@"
|
|
diff --git a/usr/bin/steamos-polkit-helpers/steamos-format-device b/usr/bin/steamos-polkit-helpers/steamos-format-device
|
|
index dcfe6b9..b8315a0 100755
|
|
--- a/usr/bin/steamos-polkit-helpers/steamos-format-device
|
|
+++ b/usr/bin/steamos-polkit-helpers/steamos-format-device
|
|
@@ -8,4 +8,4 @@ then
|
|
exec pkexec --disable-internal-agent "$0" --owner "$UID":"$gid" "$@"
|
|
fi
|
|
|
|
-exec /usr/lib/hwsupport/format-device.sh "$@"
|
|
+exec /usr/sbin/format-device "$@"
|
|
diff --git a/usr/bin/steamos-polkit-helpers/steamos-format-sdcard b/usr/bin/steamos-polkit-helpers/steamos-format-sdcard
|
|
index 53b4f2a..9022762 100755
|
|
--- a/usr/bin/steamos-polkit-helpers/steamos-format-sdcard
|
|
+++ b/usr/bin/steamos-polkit-helpers/steamos-format-sdcard
|
|
@@ -8,4 +8,4 @@ then
|
|
exec pkexec --disable-internal-agent "$0" --owner "$UID":"$gid" "$@"
|
|
fi
|
|
|
|
-exec /usr/lib/hwsupport/format-sdcard.sh "$@"
|
|
+exec /usr/sbin/format-sdcard "$@"
|
|
diff --git a/usr/bin/steamos-polkit-helpers/steamos-trim-devices b/usr/bin/steamos-polkit-helpers/steamos-trim-devices
|
|
index 296a6c7..698ee59 100755
|
|
--- a/usr/bin/steamos-polkit-helpers/steamos-trim-devices
|
|
+++ b/usr/bin/steamos-polkit-helpers/steamos-trim-devices
|
|
@@ -7,4 +7,4 @@ then
|
|
exec pkexec --disable-internal-agent "$0" "$@"
|
|
fi
|
|
|
|
-exec /usr/lib/hwsupport/trim-devices.sh "$@"
|
|
+exec /usr/sbin/trim-devices "$@"
|
|
diff --git a/usr/lib/hwsupport/format-sdcard.sh b/usr/lib/hwsupport/format-sdcard.sh
|
|
index 3e13083..39f08ac 100755
|
|
--- a/usr/lib/hwsupport/format-sdcard.sh
|
|
+++ b/usr/lib/hwsupport/format-sdcard.sh
|
|
@@ -1,3 +1,3 @@
|
|
#!/usr/bin/sh
|
|
|
|
-exec /usr/lib/hwsupport/format-device.sh --device /dev/mmcblk0 "$@"
|
|
+exec /usr/sbin/format-device --device /dev/mmcblk0 "$@"
|
|
diff --git a/usr/lib/hwsupport/jupiter-amp-control b/usr/lib/hwsupport/jupiter-amp-control
|
|
index 68aa4e4..ff52e6f 100755
|
|
--- a/usr/lib/hwsupport/jupiter-amp-control
|
|
+++ b/usr/lib/hwsupport/jupiter-amp-control
|
|
@@ -3,7 +3,7 @@
|
|
set -e
|
|
|
|
# Source files
|
|
-SCRIPT_ROOT="$(dirname $(realpath "$0") )"
|
|
+SCRIPT_ROOT="/usr/lib/hwsupport"
|
|
SPK_PROT_ORIG_PATH="$SCRIPT_ROOT/cs35l41-dsp1-spk-prot.bin.orig"
|
|
SPK_PROT_MOD_PATH="$SCRIPT_ROOT/cs35l41-dsp1-spk-prot.bin.mod"
|
|
|