bazzite/spec_files/jupiter-hw-support/user.patch
Kyle Gospodnetich 2f3f56b867 chore: Move parts of /usr/lib/hwsupport into /usr/sbin
chore: Remove -bazzite package now that it's no longer needed
fix: Add patch for dynamic user name in mounting script
2023-07-11 23:13:55 -07:00

14 lines
1023 B
Diff

diff --git a/usr/lib/hwsupport/steamos-automount.sh b/usr/lib/hwsupport/steamos-automount.sh
index fb38b92..0eddd30 100755
--- a/usr/lib/hwsupport/steamos-automount.sh
+++ b/usr/lib/hwsupport/steamos-automount.sh
@@ -146,7 +146,7 @@ do_mount()
/org/freedesktop/UDisks2/block_devices/"${DEVBASE}" \
org.freedesktop.UDisks2.Filesystem \
Mount 'a{sv}' 4 \
- as-user s deck \
+ as-user s ${USER} \
auth.no_user_interaction b true \
fstype s "$FSTYPE" \
options s "$OPTS") || ret=$?