mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-04 12:39:58 +00:00
chore: Install steam separately without problematic repos
This commit is contained in:
parent
484fa8011f
commit
742f65a313
@ -341,7 +341,48 @@ RUN rpm-ostree install \
|
||||
# Install Steam and Lutris into their own OCI layer
|
||||
# Add bootstraplinux_ubuntu12_32.tar.xz used by gamescope-session (Thanks ChimeraOS! - https://chimeraos.org/)
|
||||
RUN rpm-ostree install \
|
||||
steam \
|
||||
mesa-dri-drivers.i686 \
|
||||
mesa-vulkan-drivers.i686 \
|
||||
vulkan-loader.i686 \
|
||||
alsa-lib.i686 \
|
||||
fontconfig.i686 \
|
||||
gtk2.i686 \
|
||||
libICE.i686 \
|
||||
libnsl.i686 \
|
||||
libxcrypt-compat.i686 \
|
||||
libpng12.i686 \
|
||||
libXext.i686 \
|
||||
libXinerama.i686 \
|
||||
libXtst.i686 \
|
||||
libXScrnSaver.i686 \
|
||||
mesa-libGL.i686 \
|
||||
mesa-libEGL.i686 \
|
||||
NetworkManager-libnm.i686 \
|
||||
nss.i686 \
|
||||
pulseaudio-libs.i686 \
|
||||
libcurl.i686 \
|
||||
systemd-libs.i686 \
|
||||
libva.i686 \
|
||||
libvdpau.i686 \
|
||||
libdbusmenu-gtk3.i686 \
|
||||
libatomic.i686 \
|
||||
pipewire-alsa.i686 && \
|
||||
sed -i '0,/enabled=0/s//enabled=1/' /etc/yum.repos.d/rpmfusion-nonfree-steam.repo && \
|
||||
sed -i '0,/enabled=1/s//enabled=0/' /etc/yum.repos.d/rpmfusion-nonfree.repo && \
|
||||
sed -i '0,/enabled=1/s//enabled=0/' /etc/yum.repos.d/rpmfusion-nonfree-updates.repo && \
|
||||
sed -i '0,/enabled=1/s//enabled=0/' /etc/yum.repos.d/rpmfusion-nonfree-updates.repo && \
|
||||
sed -i '0,/enabled=1/s//enabled=0/' /etc/yum.repos.d/fedora-updates.repo && \
|
||||
rpm-ostree install \
|
||||
steam && \
|
||||
sed -i '0,/enabled=1/s//enabled=0/' /etc/yum.repos.d/rpmfusion-nonfree-steam.repo && \
|
||||
sed -i '0,/enabled=0/s//enabled=1/' /etc/yum.repos.d/rpmfusion-nonfree.repo && \
|
||||
sed -i '0,/enabled=0/s//enabled=1/' /etc/yum.repos.d/rpmfusion-nonfree-updates.repo && \
|
||||
sed -i '0,/enabled=0/s//enabled=1/' /etc/yum.repos.d/fedora-updates.repo && \
|
||||
wget https://steamdeck-packages.steamos.cloud/archlinux-mirror/jupiter-main/os/x86_64/steam-jupiter-stable-1.0.0.76-1-x86_64.pkg.tar.zst -O /tmp/steam-jupiter.pkg.tar.zst && \
|
||||
mkdir -p /usr/etc/first-boot && \
|
||||
tar -I zstd -xvf /tmp/steam-jupiter.pkg.tar.zst usr/lib/steam/bootstraplinux_ubuntu12_32.tar.xz -O > /usr/etc/first-boot/bootstraplinux_ubuntu12_32.tar.xz && \
|
||||
rm -f /tmp/steam-jupiter.pkg.tar.zst && \
|
||||
rpm-ostree install \
|
||||
lutris \
|
||||
libFAudio \
|
||||
gamescope \
|
||||
@ -349,10 +390,6 @@ RUN rpm-ostree install \
|
||||
wine-core \
|
||||
winetricks \
|
||||
protontricks && \
|
||||
wget https://steamdeck-packages.steamos.cloud/archlinux-mirror/jupiter-main/os/x86_64/steam-jupiter-stable-1.0.0.76-1-x86_64.pkg.tar.zst -O /tmp/steam-jupiter.pkg.tar.zst && \
|
||||
mkdir -p /usr/etc/first-boot && \
|
||||
tar -I zstd -xvf /tmp/steam-jupiter.pkg.tar.zst usr/lib/steam/bootstraplinux_ubuntu12_32.tar.xz -O > /usr/etc/first-boot/bootstraplinux_ubuntu12_32.tar.xz && \
|
||||
rm -f /tmp/steam-jupiter.pkg.tar.zst && \
|
||||
if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \
|
||||
rpm-ostree override remove \
|
||||
gamemode \
|
||||
|
Loading…
x
Reference in New Issue
Block a user