mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-20 15:40:35 +00:00
fix: Major distrobox cleanup, drop need for separate nvidia & non-nvidia images, drop init hooks, remove exported_apps from assemble to allow stable distrobox on non-nvidia systems.
This commit is contained in:
parent
3d493fb051
commit
85593b6b5e
@ -1,9 +0,0 @@
|
||||
[bazzite-arch]
|
||||
image=ghcr.io/ublue-os/bazzite-arch
|
||||
init=false
|
||||
nvidia=false
|
||||
pull=true
|
||||
root=false
|
||||
replace=false
|
||||
start_now=true
|
||||
volume=/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so
|
@ -1,9 +0,0 @@
|
||||
[bazzite-arch]
|
||||
image=ghcr.io/ublue-os/bazzite-arch
|
||||
init=false
|
||||
nvidia=true
|
||||
pull=true
|
||||
root=false
|
||||
replace=false
|
||||
start_now=true
|
||||
volume=/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so
|
@ -1,9 +0,0 @@
|
||||
[bazzite-arch]
|
||||
image=ghcr.io/ublue-os/bazzite-arch-gnome
|
||||
init=false
|
||||
nvidia=false
|
||||
pull=true
|
||||
root=false
|
||||
replace=false
|
||||
start_now=true
|
||||
volume=/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so
|
@ -1,9 +0,0 @@
|
||||
[bazzite-arch]
|
||||
image=ghcr.io/ublue-os/bazzite-arch-gnome
|
||||
init=false
|
||||
nvidia=true
|
||||
pull=true
|
||||
root=false
|
||||
replace=false
|
||||
start_now=true
|
||||
volume=/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so
|
@ -1,10 +1,9 @@
|
||||
[bazzite-arch]
|
||||
image=ghcr.io/ublue-os/bazzite-arch
|
||||
init=false
|
||||
nvidia=false
|
||||
nvidia=true
|
||||
pull=true
|
||||
root=false
|
||||
replace=false
|
||||
start_now=true
|
||||
volume=/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so
|
||||
exported_apps="steam lutris protontricks"
|
||||
|
@ -1,10 +0,0 @@
|
||||
[bazzite-arch]
|
||||
image=ghcr.io/ublue-os/bazzite-arch
|
||||
init=false
|
||||
nvidia=true
|
||||
pull=true
|
||||
root=false
|
||||
replace=false
|
||||
start_now=true
|
||||
volume=/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so
|
||||
exported_apps="steam lutris protontricks"
|
@ -1,15 +1,13 @@
|
||||
install-bazzite-arch:
|
||||
#!/usr/bin/env bash
|
||||
source /etc/default/bazzite
|
||||
|
||||
if [[ ${IMAGE_FLAVOR} == 'nvidia' ]]; then
|
||||
echo 'Installing Bazzite Arch (Nvidia)...'
|
||||
distrobox assemble create --file /usr/share/ublue-os/distrobox/bazzite-arch-nvidia
|
||||
else
|
||||
echo 'Installing Bazzite Arch...'
|
||||
distrobox assemble create --file /usr/share/ublue-os/distrobox/bazzite-arch
|
||||
fi
|
||||
|
||||
echo 'Installing Bazzite Arch...'
|
||||
distrobox assemble create --file /usr/share/ublue-os/distrobox/bazzite-arch
|
||||
distrobox-enter -n bazzite-arch -- ' /usr/bin/bazzite-steam-runtime --silent &>/dev/null &'
|
||||
distrobox-enter -n bazzite-arch -- ' distrobox-export --app steam'
|
||||
distrobox-enter -n bazzite-arch -- ' distrobox-export --app lutris'
|
||||
distrobox-enter -n bazzite-arch -- ' distrobox-export --app protontricks'
|
||||
mkdir -p ~/.config/autostart/
|
||||
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
|
||||
|
@ -1,10 +1,9 @@
|
||||
[bazzite-arch]
|
||||
image=ghcr.io/ublue-os/bazzite-arch-gnome
|
||||
init=false
|
||||
nvidia=false
|
||||
nvidia=true
|
||||
pull=true
|
||||
root=false
|
||||
replace=false
|
||||
start_now=true
|
||||
volume=/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so
|
||||
exported_apps="steam lutris protontricks"
|
||||
|
@ -1,10 +0,0 @@
|
||||
[bazzite-arch]
|
||||
image=ghcr.io/ublue-os/bazzite-arch-gnome
|
||||
init=false
|
||||
nvidia=true
|
||||
pull=true
|
||||
root=false
|
||||
replace=false
|
||||
start_now=true
|
||||
volume=/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so
|
||||
exported_apps="steam lutris protontricks"
|
Loading…
x
Reference in New Issue
Block a user