Skip to content

Commit

Permalink
chore: Change how SteamCMD is exported to avoid a race condition.
Browse files Browse the repository at this point in the history
fix(deck): Export extest to bazzite-arch, if used.
  • Loading branch information
KyleGospo committed Aug 13, 2023
1 parent 4382980 commit 615ee6f
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ pull=true
root=false
replace=false
start_now=true
volume=/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so
init_hooks=pacman -S rocm-opencl-runtime rocm-hip-runtime --noconfirm
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ pull=true
root=false
replace=false
start_now=true
volume=/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ pull=true
root=false
replace=false
start_now=true
volume=/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so
init_hooks=pacman -Rnsdd xdg-desktop-portal-kde --noconfirm && pacman -S xdg-desktop-portal-gnome rocm-opencl-runtime rocm-hip-runtime --noconfirm && runuser -u $USER -- paru -S adw-gtk3 --noconfirm
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ pull=true
root=false
replace=false
start_now=true
volume=/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so
init_hooks=pacman -Rnsdd xdg-desktop-portal-kde --noconfirm && pacman -S xdg-desktop-portal-gnome --noconfirm && runuser -u $USER -- paru -S adw-gtk3 --noconfirm
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ start_now=true
volume=/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so
init_hooks=pacman -S rocm-opencl-runtime rocm-hip-runtime --noconfirm && runuser -u $USER -- paru -S steamcmd --noconfirm
exported_apps="steam lutris protontricks"
exported_bins="/usr/bin/steamcmd"
exported_bins_path="~/.steam"
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ start_now=true
volume=/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so
init_hooks=runuser -u $USER -- paru -S steamcmd --noconfirm
exported_apps="steam lutris protontricks"
exported_bins="/usr/bin/steamcmd"
exported_bins_path="~/.steam"
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ install-bazzite-arch:
#!/usr/bin/env bash
source /etc/default/bazzite
mkdir -p ~/.steam
if [[ ${IMAGE_FLAVOR} == 'nvidia' ]]; then
echo 'Installing Bazzite Arch (Nvidia)...'
distrobox assemble create --file /usr/share/ublue-os/distrobox/bazzite-arch-nvidia
Expand All @@ -13,7 +12,7 @@ install-bazzite-arch:
distrobox-enter -n bazzite-arch -- ' /usr/bin/bazzite-steam-runtime --silent &>/dev/null &'
cp ~/.local/share/applications/bazzite-arch-steam.desktop ~/.config/autostart/bazzite-arch-steam-silent.desktop
sed -i 's@/usr/bin/bazzite-steam-runtime %U@/usr/bin/bazzite-steam-runtime -silent %U@g' ~/.config/autostart/bazzite-arch-steam-silent.desktop
mv ~/.steam/steamcmd ~/.steam/steamcmd.sh
distrobox-enter -n bazzite-arch -- ' mkdir -p ~/.steam && distrobox-export --bin /usr/bin/steamcmd --export-path ~/.steam && mv ~/.steam/steamcmd ~/.steam/steamcmd.sh'
if [[ ${BASE_IMAGE_NAME} == 'kinoite' ]]; then
echo 'Creating desktop shortcuts...'
cp ~/.local/share/applications/bazzite-arch-steam.desktop ~/Desktop/bazzite-arch-steam.desktop
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ start_now=true
volume=/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so
init_hooks=pacman -Rnsdd xdg-desktop-portal-kde --noconfirm && pacman -S xdg-desktop-portal-gnome rocm-opencl-runtime rocm-hip-runtime --noconfirm && runuser -u $USER -- paru -S steamcmd adw-gtk3 --noconfirm
exported_apps="steam lutris protontricks"
exported_bins="/usr/bin/steamcmd"
exported_bins_path="~/.steam"
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ start_now=true
volume=/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so
init_hooks=pacman -Rnsdd xdg-desktop-portal-kde --noconfirm && pacman -S xdg-desktop-portal-gnome --noconfirm && runuser -u $USER -- paru -S steamcmd adw-gtk3 --noconfirm
exported_apps="steam lutris protontricks"
exported_bins="/usr/bin/steamcmd"
exported_bins_path="~/.steam"

0 comments on commit 615ee6f

Please sign in to comment.