2023-06-18 19:22:17 +00:00
|
|
|
ARG BASE_IMAGE_NAME="${BASE_IMAGE_NAME:-kinoite}"
|
|
|
|
ARG IMAGE_FLAVOR="${IMAGE_FLAVOR:-main}"
|
2023-10-13 14:35:10 -06:00
|
|
|
ARG AKMODS_FLAVOR="${AKMODS_FLAVOR:-main}"
|
2023-06-18 19:22:17 +00:00
|
|
|
ARG SOURCE_IMAGE="${SOURCE_IMAGE:-$BASE_IMAGE_NAME-$IMAGE_FLAVOR}"
|
|
|
|
ARG BASE_IMAGE="ghcr.io/ublue-os/${SOURCE_IMAGE}"
|
2023-10-15 07:36:19 -06:00
|
|
|
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-39}"
|
2023-06-18 19:22:17 +00:00
|
|
|
|
|
|
|
FROM ${BASE_IMAGE}:${FEDORA_MAJOR_VERSION} AS bazzite
|
|
|
|
|
2023-11-28 08:49:28 -07:00
|
|
|
ARG IMAGE_NAME="${IMAGE_NAME:-bazzite}"
|
|
|
|
ARG IMAGE_VENDOR="${IMAGE_VENDOR:-ublue-os}"
|
|
|
|
ARG IMAGE_FLAVOR="${IMAGE_FLAVOR:-main}"
|
|
|
|
ARG AKMODS_FLAVOR="${AKMODS_FLAVOR:-main}"
|
|
|
|
ARG BASE_IMAGE_NAME="${BASE_IMAGE_NAME:-kinoite}"
|
|
|
|
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-39}"
|
2023-02-09 11:08:39 -08:00
|
|
|
|
2023-10-11 11:38:36 -07:00
|
|
|
COPY system_files/desktop/shared system_files/desktop/${BASE_IMAGE_NAME} /
|
2023-07-28 00:17:26 -07:00
|
|
|
|
2023-08-01 08:36:47 -07:00
|
|
|
# Setup Copr repos
|
|
|
|
RUN wget https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/repo/fedora-$(rpm -E %fedora)/kylegospo-bazzite-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_kylegospo-bazzite.repo && \
|
2023-08-09 13:07:39 -07:00
|
|
|
wget https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite-multilib/repo/fedora-$(rpm -E %fedora)/kylegospo-bazzite-multilib-fedora-$(rpm -E %fedora).repo?arch=x86_64 -O /etc/yum.repos.d/_copr_kylegospo-bazzite-multilib.repo && \
|
2023-09-21 00:11:44 -07:00
|
|
|
wget https://copr.fedorainfracloud.org/coprs/ublue-os/staging/repo/fedora-$(rpm -E %fedora)/ublue-os-staging-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_ublue-os-staging.repo && \
|
2023-09-22 15:04:57 -07:00
|
|
|
wget https://copr.fedorainfracloud.org/coprs/ublue-os/bling/repo/fedora-$(rpm -E %fedora)/ublue-os-bling-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_ublue-os-bling.repo && \
|
2023-07-28 00:17:26 -07:00
|
|
|
wget https://copr.fedorainfracloud.org/coprs/kylegospo/system76-scheduler/repo/fedora-$(rpm -E %fedora)/kylegospo-system76-scheduler-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_kylegospo-system76-scheduler.repo && \
|
2023-10-09 09:22:49 -07:00
|
|
|
wget https://copr.fedorainfracloud.org/coprs/kylegospo/LatencyFleX/repo/fedora-$(rpm -E %fedora)/kylegospo-LatencyFleX-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_kylegospo-latencyflex.repo && \
|
2023-07-28 00:17:26 -07:00
|
|
|
wget https://copr.fedorainfracloud.org/coprs/kylegospo/hl2linux-selinux/repo/fedora-$(rpm -E %fedora)/kylegospo-hl2linux-selinux-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_kylegospo-hl2linux-selinux.repo && \
|
|
|
|
wget https://copr.fedorainfracloud.org/coprs/kylegospo/obs-vkcapture/repo/fedora-$(rpm -E %fedora)/kylegospo-obs-vkcapture-fedora-$(rpm -E %fedora).repo?arch=x86_64 -O /etc/yum.repos.d/_copr_kylegospo-obs-vkcapture.repo && \
|
|
|
|
wget https://copr.fedorainfracloud.org/coprs/kylegospo/wallpaper-engine-kde-plugin/repo/fedora-$(rpm -E %fedora)/kylegospo-wallpaper-engine-kde-plugin-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_kylegospo-wallpaper-engine-kde-plugin.repo && \
|
|
|
|
wget https://copr.fedorainfracloud.org/coprs/kylegospo/gnome-vrr/repo/fedora-$(rpm -E %fedora)/kylegospo-gnome-vrr-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_kylegospo-gnome-vrr.repo && \
|
2023-11-02 01:15:54 -07:00
|
|
|
wget https://copr.fedorainfracloud.org/coprs/kylegospo/vk_hdr_layer/repo/fedora-$(rpm -E %fedora)/kylegospo-vk_hdr_layer-fedora-$(rpm -E %fedora).repo?arch=x86_64 -O /etc/yum.repos.d/_copr_kylegospo-vk_hdr_layer.repo && \
|
2023-08-02 00:22:06 -07:00
|
|
|
wget https://copr.fedorainfracloud.org/coprs/ycollet/audinux/repo/fedora-$(rpm -E %fedora)/ycollet-audinux-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_ycollet-audinux.repo && \
|
2023-09-20 14:58:49 -07:00
|
|
|
wget https://copr.fedorainfracloud.org/coprs/kylegospo/rom-properties/repo/fedora-$(rpm -E %fedora)/kylegospo-rom-properties-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_kylegospo-rom-properties.repo && \
|
|
|
|
wget https://pkgs.tailscale.com/stable/fedora/tailscale.repo -O /etc/yum.repos.d/tailscale.repo && \
|
|
|
|
sed -i 's@gpgcheck=1@gpgcheck=0@g' /etc/yum.repos.d/tailscale.repo
|
2023-02-09 11:08:39 -08:00
|
|
|
|
2023-11-09 16:02:43 -07:00
|
|
|
# Install kernel-fsync
|
2023-11-13 21:35:23 -07:00
|
|
|
RUN case "${IMAGE_FLAVOR}" in \
|
2023-11-13 21:44:04 -07:00
|
|
|
main|ally) \
|
2023-11-13 22:49:59 -07:00
|
|
|
wget https://copr.fedorainfracloud.org/coprs/sentry/kernel-fsync/repo/fedora-$(rpm -E %fedora)/sentry-kernel-fsync-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_sentry-kernel-fsync.repo && \
|
2023-11-13 21:35:23 -07:00
|
|
|
rpm-ostree cliwrap install-to-root / && \
|
|
|
|
rpm-ostree override replace \
|
|
|
|
--experimental \
|
|
|
|
--from repo=copr:copr.fedorainfracloud.org:sentry:kernel-fsync \
|
|
|
|
kernel \
|
|
|
|
kernel-core \
|
|
|
|
kernel-modules \
|
|
|
|
kernel-modules-core \
|
|
|
|
kernel-modules-extra \
|
|
|
|
;; \
|
|
|
|
esac
|
2023-11-09 16:02:43 -07:00
|
|
|
|
2023-11-13 21:46:12 -07:00
|
|
|
# Add ublue packages, add needed negativo17 repo and then immediately disable due to incompatibility with RPMFusion
|
|
|
|
COPY --from=ghcr.io/ublue-os/akmods:${AKMODS_FLAVOR}-${FEDORA_MAJOR_VERSION} /rpms /tmp/akmods-rpms
|
|
|
|
RUN sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \
|
|
|
|
wget https://negativo17.org/repos/fedora-multimedia.repo -O /etc/yum.repos.d/negativo17-fedora-multimedia.repo && \
|
|
|
|
rpm-ostree install \
|
|
|
|
/tmp/akmods-rpms/kmods/*xpadneo*.rpm \
|
|
|
|
/tmp/akmods-rpms/kmods/*xpad-noone*.rpm \
|
|
|
|
/tmp/akmods-rpms/kmods/*xone*.rpm \
|
|
|
|
/tmp/akmods-rpms/kmods/*openrazer*.rpm \
|
|
|
|
/tmp/akmods-rpms/kmods/*v4l2loopback*.rpm \
|
2023-11-13 22:53:35 -07:00
|
|
|
/tmp/akmods-rpms/kmods/*wl*.rpm \
|
2023-11-13 21:46:12 -07:00
|
|
|
/tmp/akmods-rpms/kmods/*gcadapter_oc*.rpm \
|
|
|
|
/tmp/akmods-rpms/kmods/*nct6687*.rpm \
|
2023-11-28 18:33:12 -08:00
|
|
|
/tmp/akmods-rpms/kmods/*ryzen-smu*.rpm && \
|
2023-11-13 21:46:12 -07:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/negativo17-fedora-multimedia.repo
|
|
|
|
|
2023-07-28 00:17:26 -07:00
|
|
|
# Remove unneeded packages
|
|
|
|
RUN rpm-ostree override remove \
|
2023-11-02 01:15:54 -07:00
|
|
|
ublue-os-update-services \
|
|
|
|
firefox \
|
|
|
|
firefox-langpacks \
|
2023-11-28 20:33:17 -08:00
|
|
|
htop
|
2023-02-09 11:08:39 -08:00
|
|
|
|
|
|
|
# Install new packages
|
2023-11-28 17:38:40 -07:00
|
|
|
RUN if [[ "${IMAGE_FLAVOR}" =~ "nvidia" ]]; then \
|
|
|
|
rpm-ostree override remove \
|
|
|
|
glibc32 \
|
|
|
|
; fi && \
|
|
|
|
rpm-ostree install \
|
2023-10-26 14:38:37 -07:00
|
|
|
ublue-update \
|
|
|
|
discover-overlay \
|
|
|
|
python3-pip \
|
|
|
|
libadwaita \
|
|
|
|
duperemove \
|
|
|
|
xwininfo \
|
|
|
|
xrandr \
|
|
|
|
rmlint \
|
|
|
|
compsize \
|
|
|
|
input-remapper \
|
|
|
|
system76-scheduler \
|
|
|
|
hl2linux-selinux \
|
|
|
|
python3-icoextract \
|
|
|
|
tailscale \
|
|
|
|
btop \
|
|
|
|
fish \
|
|
|
|
xdotool \
|
|
|
|
wmctrl \
|
|
|
|
libcec \
|
|
|
|
yad \
|
|
|
|
f3 \
|
|
|
|
pulseaudio-utils \
|
|
|
|
unrar \
|
|
|
|
lzip \
|
|
|
|
libxcrypt-compat \
|
|
|
|
mesa-libGLU \
|
|
|
|
vulkan-tools \
|
2023-11-28 14:01:16 -07:00
|
|
|
glibc.i686 \
|
2023-11-08 00:58:55 -08:00
|
|
|
extest.i686 \
|
2023-10-26 14:38:37 -07:00
|
|
|
twitter-twemoji-fonts \
|
2023-11-08 12:37:25 -08:00
|
|
|
google-noto-sans-cjk-fonts \
|
2023-10-26 14:38:37 -07:00
|
|
|
lato-fonts \
|
2023-11-19 19:49:53 -08:00
|
|
|
fira-code-fonts \
|
|
|
|
glow \
|
|
|
|
gum && \
|
2023-11-08 12:37:25 -08:00
|
|
|
ln -s /usr/share/fonts/google-noto-sans-cjk-fonts /usr/share/fonts/noto-cjk && \
|
2023-10-29 23:04:54 -07:00
|
|
|
wget https://raw.githubusercontent.com/scaronni/steam-proton-mf-wmv/master/installcab.py -O /usr/bin/installcab && \
|
|
|
|
wget https://github.com/scaronni/steam-proton-mf-wmv/blob/master/install-mf-wmv.sh -O /usr/bin/install-mf-wmv && \
|
|
|
|
sed -i 's@python3 installcab.py@/usr/bin/installcab@g' /usr/bin/install-mf-wmv && \
|
2023-10-25 15:49:26 -07:00
|
|
|
wget https://raw.githubusercontent.com/jlu5/icoextract/master/exe-thumbnailer.thumbnailer -O /usr/share/thumbnailers/exe-thumbnailer.thumbnailer && \
|
2023-09-04 13:45:29 -07:00
|
|
|
wget https://gitlab.com/popsulfr/steamos-btrfs/-/raw/main/files/usr/lib/systemd/system/btrfs-dedup@.service -O /usr/lib/systemd/system/btrfs-dedup@.service && \
|
2023-09-07 08:20:12 -07:00
|
|
|
wget https://gitlab.com/popsulfr/steamos-btrfs/-/raw/main/files/usr/lib/systemd/system/btrfs-dedup@.timer -O /usr/lib/systemd/system/btrfs-dedup@.timer
|
2023-06-18 19:22:17 +00:00
|
|
|
|
2023-11-10 13:19:01 -08:00
|
|
|
# Install Steam & Lutris, plus supporting packages
|
2023-11-29 09:31:02 -08:00
|
|
|
RUN rpm-ostree install \
|
2023-10-07 17:15:39 -07:00
|
|
|
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 \
|
|
|
|
NetworkManager-libnm.i686 \
|
|
|
|
nss.i686 \
|
|
|
|
pulseaudio-libs.i686 \
|
|
|
|
libcurl.i686 \
|
|
|
|
systemd-libs.i686 \
|
|
|
|
libva.i686 \
|
|
|
|
libvdpau.i686 \
|
|
|
|
libdbusmenu-gtk3.i686 \
|
|
|
|
libatomic.i686 \
|
2023-10-17 00:04:07 -07:00
|
|
|
pipewire-alsa.i686 \
|
|
|
|
clinfo && \
|
2023-10-07 17:15:39 -07:00
|
|
|
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/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 && \
|
|
|
|
rpm-ostree install \
|
|
|
|
lutris \
|
|
|
|
wxGTK \
|
|
|
|
libFAudio \
|
2023-10-31 10:10:37 -07:00
|
|
|
wine-core.x86_64 \
|
|
|
|
wine-core.i686 \
|
2023-10-31 12:40:52 -07:00
|
|
|
wine-pulseaudio.x86_64 \
|
|
|
|
wine-pulseaudio.i686 \
|
2023-10-07 17:15:39 -07:00
|
|
|
winetricks \
|
|
|
|
protontricks \
|
2023-10-08 10:11:30 -07:00
|
|
|
latencyflex-vulkan-layer \
|
2023-10-16 23:51:00 -07:00
|
|
|
vkBasalt.x86_64 \
|
|
|
|
vkBasalt.i686 \
|
|
|
|
mangohud.x86_64 \
|
|
|
|
mangohud.i686 \
|
2023-11-10 13:19:01 -08:00
|
|
|
vk_hdr_layer.x86_64 \
|
|
|
|
vk_hdr_layer.i686 \
|
2023-11-20 22:22:17 -08:00
|
|
|
gperftools-libs.i686 \
|
|
|
|
goverlay && \
|
2023-11-10 13:19:01 -08:00
|
|
|
if [[ ! "${IMAGE_FLAVOR}" =~ "surface" ]]; then \
|
2023-11-07 21:18:32 -08:00
|
|
|
rpm-ostree install \
|
|
|
|
obs-vkcapture.x86_64 \
|
|
|
|
obs-vkcapture.i686 \
|
|
|
|
; fi && \
|
2023-11-05 22:35:29 -08:00
|
|
|
ln -s /usr/bin/wine64 /usr/bin/wine && \
|
2023-10-30 10:20:42 -07:00
|
|
|
wget $(curl https://api.github.com/repos/ishitatsuyuki/LatencyFleX/releases/latest | jq -r '.assets[] | select(.name| test(".*.tar.xz$")).browser_download_url') -O /tmp/latencyflex.tar.xz && \
|
|
|
|
mkdir -p /tmp/latencyflex && \
|
|
|
|
tar --strip-components 1 -xvf /tmp/latencyflex.tar.xz -C /tmp/latencyflex && \
|
|
|
|
rm -f /tmp/latencyflex.tar.xz && \
|
2023-10-30 10:47:22 -07:00
|
|
|
cp -r /tmp/latencyflex/wine/usr/lib/wine/* /usr/lib64/wine/ && \
|
2023-10-30 10:35:17 -07:00
|
|
|
rm -rf /tmp/latencyflex && \
|
2023-10-30 13:22:01 -07:00
|
|
|
wget https://raw.githubusercontent.com/Shringe/LatencyFleX-Installer/main/install.sh -O /usr/bin/latencyflex && \
|
|
|
|
sed -i 's@/usr/lib/wine/@/usr/lib64/wine/@g' /usr/bin/latencyflex && \
|
|
|
|
sed -i 's@"dxvk.conf"@"/usr/share/latencyflex/dxvk.conf"@g' /usr/bin/latencyflex && \
|
2023-11-10 13:19:01 -08:00
|
|
|
chmod +x /usr/bin/latencyflex
|
|
|
|
|
|
|
|
# Configure KDE & GNOME
|
|
|
|
RUN if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \
|
|
|
|
rpm-ostree override remove \
|
|
|
|
plasma-welcome \
|
|
|
|
qt5-qdbusviewer && \
|
|
|
|
rpm-ostree install \
|
|
|
|
steamdeck-kde-presets-desktop \
|
|
|
|
wallpaper-engine-kde-plugin \
|
|
|
|
kdeconnectd \
|
2023-11-12 20:04:01 -08:00
|
|
|
kdeplasma-addons \
|
2023-11-10 13:19:01 -08:00
|
|
|
rom-properties-kf5 && \
|
|
|
|
if grep -qv "nvidia" <<< "${IMAGE_NAME}"; then \
|
|
|
|
rpm-ostree install colord-kde \
|
|
|
|
; fi && \
|
|
|
|
git clone https://github.com/maxiberta/kwin-system76-scheduler-integration.git --depth 1 /tmp/kwin-system76-scheduler-integration && \
|
|
|
|
git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git --depth 1 /tmp/wallpaper-engine-kde-plugin && \
|
|
|
|
kpackagetool5 --type=KWin/Script --global --install /tmp/kwin-system76-scheduler-integration && \
|
|
|
|
kpackagetool5 --type=Plasma/Wallpaper --global --install /tmp/wallpaper-engine-kde-plugin/plugin && \
|
|
|
|
rm -rf /tmp/kwin-system76-scheduler-integration && \
|
|
|
|
rm -rf /tmp/wallpaper-engine-kde-plugin \
|
|
|
|
; else \
|
|
|
|
rpm-ostree override replace \
|
|
|
|
--experimental \
|
|
|
|
--from repo=copr:copr.fedorainfracloud.org:kylegospo:gnome-vrr \
|
|
|
|
mutter \
|
|
|
|
mutter-common \
|
|
|
|
gnome-control-center \
|
|
|
|
gnome-control-center-filesystem && \
|
|
|
|
rpm-ostree install \
|
|
|
|
gnome-shell-extension-tailscale-gnome-qs \
|
|
|
|
steamdeck-backgrounds \
|
|
|
|
gnome-randr-rust \
|
|
|
|
gnome-shell-extension-user-theme \
|
|
|
|
gnome-shell-extension-gsconnect \
|
|
|
|
nautilus-gsconnect \
|
|
|
|
gnome-shell-extension-system76-scheduler \
|
|
|
|
gnome-shell-extension-compiz-windows-effect \
|
|
|
|
gnome-shell-extension-just-perfection \
|
|
|
|
gnome-shell-extension-blur-my-shell \
|
|
|
|
gnome-shell-extension-hanabi \
|
|
|
|
gnome-shell-extension-gamerzilla \
|
2023-11-14 16:33:15 -08:00
|
|
|
gnome-shell-extension-bazzite-menu \
|
2023-11-10 13:19:01 -08:00
|
|
|
rom-properties-gtk3 \
|
|
|
|
openssh-askpass && \
|
|
|
|
rpm-ostree override remove \
|
2023-11-13 10:59:01 -08:00
|
|
|
gnome-software-rpm-ostree \
|
2023-11-10 13:19:01 -08:00
|
|
|
gnome-classic-session \
|
|
|
|
gnome-tour \
|
|
|
|
gnome-extensions-app \
|
|
|
|
gnome-initial-setup \
|
|
|
|
; fi
|
|
|
|
|
|
|
|
# Install gamescope-limiter patched Mesa
|
|
|
|
RUN rpm-ostree override replace \
|
|
|
|
--experimental \
|
|
|
|
--from repo=copr:copr.fedorainfracloud.org:kylegospo:bazzite-multilib \
|
|
|
|
mesa-filesystem \
|
|
|
|
mesa-dri-drivers \
|
|
|
|
mesa-libEGL \
|
|
|
|
mesa-libEGL-devel \
|
|
|
|
mesa-libgbm \
|
|
|
|
mesa-libGL \
|
|
|
|
mesa-libglapi \
|
|
|
|
mesa-vulkan-drivers \
|
2023-11-12 21:19:07 -08:00
|
|
|
mesa-libOSMesa \
|
|
|
|
https://download.copr.fedorainfracloud.org/results/kylegospo/bazzite-multilib/fedora-39-x86_64/06620403-bluez/bluez-5.70-1.fc39.bazzite.0.0.git.1708.6d2818cf.x86_64.rpm \
|
|
|
|
https://download.copr.fedorainfracloud.org/results/kylegospo/bazzite-multilib/fedora-39-x86_64/06620403-bluez/bluez-cups-5.70-1.fc39.bazzite.0.0.git.1708.6d2818cf.x86_64.rpm \
|
|
|
|
https://download.copr.fedorainfracloud.org/results/kylegospo/bazzite-multilib/fedora-39-x86_64/06620403-bluez/bluez-libs-5.70-1.fc39.bazzite.0.0.git.1708.6d2818cf.x86_64.rpm \
|
|
|
|
https://download.copr.fedorainfracloud.org/results/kylegospo/bazzite-multilib/fedora-39-x86_64/06620403-bluez/bluez-obexd-5.70-1.fc39.bazzite.0.0.git.1708.6d2818cf.x86_64.rpm \
|
|
|
|
https://download.copr.fedorainfracloud.org/results/kylegospo/bazzite-multilib/fedora-39-i386/06620403-bluez/bluez-libs-5.70-1.fc39.bazzite.0.0.git.1708.6d2818cf.i686.rpm
|
2023-11-10 13:19:01 -08:00
|
|
|
|
|
|
|
# Install Gamescope, ROCM, and Waydroid on non-Nvidia images
|
|
|
|
RUN if grep -qv "nvidia" <<< "${IMAGE_NAME}"; then \
|
|
|
|
rpm-ostree install \
|
|
|
|
gamescope.x86_64 \
|
2023-11-24 23:23:07 -08:00
|
|
|
gamescope-libs.i686 \
|
2023-11-10 13:19:01 -08:00
|
|
|
rocm-hip \
|
|
|
|
rocm-opencl \
|
|
|
|
rocm-clinfo \
|
|
|
|
waydroid \
|
|
|
|
weston && \
|
|
|
|
sed -i~ -E 's/=.\$\(command -v (nft|ip6?tables-legacy).*/=/g' /usr/lib/waydroid/data/scripts/waydroid-net.sh && \
|
|
|
|
rm -f /usr/etc/modprobe.d/nvidia.conf \
|
|
|
|
; else \
|
|
|
|
rm -f /usr/etc/modprobe.d/amdgpu.conf \
|
2023-07-30 15:59:19 -06:00
|
|
|
; fi
|
2023-07-30 14:13:55 -06:00
|
|
|
|
2023-06-18 19:22:17 +00:00
|
|
|
# Cleanup & Finalize
|
2023-10-11 11:38:36 -07:00
|
|
|
COPY system_files/shared /
|
2023-09-22 11:19:14 -06:00
|
|
|
RUN /tmp/image-info.sh && \
|
2023-11-10 13:19:01 -08:00
|
|
|
sed -i 's@/usr/bin/steam@/usr/bin/bazzite-steam@g' /usr/share/applications/steam.desktop && \
|
2023-09-22 11:19:14 -06:00
|
|
|
rm /usr/share/applications/shredder.desktop && \
|
2023-07-30 23:54:41 -07:00
|
|
|
rm /usr/share/vulkan/icd.d/lvp_icd.*.json && \
|
2023-07-30 18:08:19 -07:00
|
|
|
mkdir -p "/usr/etc/profile.d/" && \
|
2023-07-28 00:17:26 -07:00
|
|
|
ln -s "/usr/share/ublue-os/firstboot/launcher/login-profile.sh" \
|
|
|
|
"/usr/etc/profile.d/ublue-firstboot.sh" && \
|
2023-09-27 08:11:03 -07:00
|
|
|
mkdir -p "/usr/etc/xdg/autostart" && \
|
|
|
|
cp "/usr/share/applications/discover_overlay.desktop" "/usr/etc/xdg/autostart/discover_overlay.desktop" && \
|
|
|
|
sed -i 's@Exec=discover-overlay@Exec=/usr/bin/bazzite-discover-overlay@g' /usr/etc/xdg/autostart/discover_overlay.desktop && \
|
|
|
|
rm /usr/share/applications/discover_overlay.desktop && \
|
2023-08-05 19:58:58 -06:00
|
|
|
cp "/usr/share/ublue-os/firstboot/yafti.yml" "/etc/yafti.yml" && \
|
2023-07-28 00:17:26 -07:00
|
|
|
pip install --prefix=/usr yafti && \
|
2023-08-18 17:43:55 -07:00
|
|
|
pip install --prefix=/usr hyfetch && \
|
2023-08-10 09:04:05 -06:00
|
|
|
sed -i 's/stage/none/g' /etc/rpm-ostreed.conf && \
|
2023-10-13 14:35:10 -06:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \
|
2023-06-23 11:39:07 -07:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite.repo && \
|
2023-08-09 13:07:39 -07:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite-multilib.repo && \
|
2023-09-21 00:11:44 -07:00
|
|
|
sed -i 's@enabled=1@enabeld=0@g' /etc/yum.repos.d/_copr_ublue-os-staging.repo && \
|
2023-09-22 15:04:57 -07:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ublue-os-bling.repo && \
|
2023-06-18 19:22:17 +00:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-system76-scheduler.repo && \
|
2023-10-09 09:22:49 -07:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-latencyflex.repo && \
|
2023-06-18 19:22:17 +00:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-hl2linux-selinux.repo && \
|
2023-07-03 23:26:12 -07:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-obs-vkcapture.repo && \
|
2023-07-05 12:18:47 -07:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-wallpaper-engine-kde-plugin.repo && \
|
2023-07-22 00:02:53 -07:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-gnome-vrr.repo && \
|
2023-11-02 01:15:54 -07:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-vk_hdr_layer.repo && \
|
2023-07-25 10:48:05 -07:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ycollet-audinux.repo && \
|
2023-09-06 01:10:07 -07:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-rom-properties.repo && \
|
2023-09-20 14:58:49 -07:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/tailscale.repo && \
|
2023-11-19 19:49:53 -08:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/charm.repo && \
|
2023-06-18 19:22:17 +00:00
|
|
|
sed -i 's/#DefaultTimeoutStopSec.*/DefaultTimeoutStopSec=15s/' /etc/systemd/user.conf && \
|
|
|
|
sed -i 's/#DefaultTimeoutStopSec.*/DefaultTimeoutStopSec=15s/' /etc/systemd/system.conf && \
|
2023-09-13 09:32:06 -07:00
|
|
|
mkdir -p /usr/etc/flatpak/remotes.d && \
|
|
|
|
wget -q https://dl.flathub.org/repo/flathub.flatpakrepo -P /usr/etc/flatpak/remotes.d && \
|
2023-08-08 11:07:44 -07:00
|
|
|
systemctl enable com.system76.Scheduler.service && \
|
2023-09-05 01:24:27 -07:00
|
|
|
systemctl enable btrfs-dedup@var-home.timer && \
|
2023-08-08 14:48:45 -07:00
|
|
|
systemctl enable input-remapper.service && \
|
2023-09-09 10:07:41 -06:00
|
|
|
systemctl unmask bazzite-flatpak-manager.service && \
|
|
|
|
systemctl enable bazzite-flatpak-manager.service && \
|
2023-06-30 22:54:08 -07:00
|
|
|
systemctl disable rpm-ostreed-automatic.timer && \
|
2023-09-17 12:43:16 -06:00
|
|
|
systemctl enable ublue-update.timer && \
|
2023-08-08 14:48:45 -07:00
|
|
|
systemctl enable bazzite-hardware-setup.service && \
|
2023-09-20 15:19:27 -07:00
|
|
|
systemctl enable tailscaled.service && \
|
2023-10-13 19:44:10 +02:00
|
|
|
systemctl enable dev-hugepages1G.mount && \
|
2023-08-08 14:48:45 -07:00
|
|
|
systemctl --global enable bazzite-user-setup.service && \
|
2023-08-07 13:26:21 -07:00
|
|
|
if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \
|
2023-08-15 15:06:18 -07:00
|
|
|
sed -i '/^PRETTY_NAME/s/Kinoite/Bazzite/' /usr/lib/os-release && \
|
|
|
|
systemctl --global enable com.system76.Scheduler.dbusproxy.service \
|
2023-08-07 13:26:21 -07:00
|
|
|
; else \
|
2023-08-07 07:39:07 -07:00
|
|
|
rm /usr/share/applications/yad-icon-browser.desktop && \
|
2023-08-22 14:25:54 -07:00
|
|
|
rm /usr/share/applications/com.github.rafostar.Clapper.desktop && \
|
2023-08-08 14:48:45 -07:00
|
|
|
sed -i '/^PRETTY_NAME/s/Silverblue/Bazzite GNOME/' /usr/lib/os-release \
|
2023-08-01 23:05:06 -07:00
|
|
|
; fi && \
|
2023-09-11 11:15:25 -07:00
|
|
|
if grep -qv "nvidia" <<< "${IMAGE_NAME}"; then \
|
2023-08-16 07:52:50 -07:00
|
|
|
systemctl disable waydroid-container.service && \
|
2023-10-22 17:11:06 -07:00
|
|
|
sed -i 's@Exec=waydroid first-launch@Exec=/usr/bin/waydroid-launcher first-launch\nX-Steam-Library-Capsule=/usr/share/applications/Waydroid/capsule.png\nX-Steam-Library-Hero=/usr/share/applications/Waydroid/hero.png\nX-Steam-Library-Logo=/usr/share/applications/Waydroid/logo.png\nX-Steam-Library-StoreCapsule=/usr/share/applications/Waydroid/store-logo.png\nX-Steam-Controller-Template=Desktop@g' /usr/share/applications/Waydroid.desktop && \
|
2023-11-01 13:03:35 -07:00
|
|
|
rm /usr/share/wayland-sessions/weston.desktop && \
|
|
|
|
wget https://raw.githubusercontent.com/Quackdoc/waydroid-scripts/main/waydroid-choose-gpu.sh -O /usr/bin/waydroid-choose-gpu && \
|
|
|
|
chmod +x /usr/bin/waydroid-choose-gpu \
|
2023-08-08 21:29:07 -07:00
|
|
|
; fi && \
|
2023-09-13 09:32:06 -07:00
|
|
|
mkdir -p /usr/etc/default && \
|
2023-06-18 19:22:17 +00:00
|
|
|
rm -rf \
|
|
|
|
/tmp/* \
|
|
|
|
/var/* && \
|
|
|
|
mkdir -p /var/tmp && \
|
2023-07-25 15:55:19 -07:00
|
|
|
chmod -R 1777 /var/tmp && \
|
2023-11-08 15:18:08 -08:00
|
|
|
mkdir -p /var/lib/bluetooth && \
|
|
|
|
chmod -R 755 /var/lib/bluetooth && \
|
2023-09-09 15:30:40 -06:00
|
|
|
ostree container commit
|
|
|
|
|
2023-06-18 19:22:17 +00:00
|
|
|
FROM bazzite as bazzite-deck
|
|
|
|
|
2023-11-28 08:49:28 -07:00
|
|
|
ARG IMAGE_NAME="${IMAGE_NAME:-bazzite-deck}"
|
|
|
|
ARG IMAGE_VENDOR="${IMAGE_VENDOR:-ublue-os}"
|
|
|
|
ARG IMAGE_FLAVOR="${IMAGE_FLAVOR:-main}"
|
|
|
|
ARG BASE_IMAGE_NAME="${BASE_IMAGE_NAME:-kinoite}"
|
|
|
|
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-39}"
|
2023-06-18 19:22:17 +00:00
|
|
|
|
2023-10-11 11:38:36 -07:00
|
|
|
COPY system_files/deck/shared system_files/deck/${BASE_IMAGE_NAME} /
|
2023-08-01 19:55:25 -06:00
|
|
|
|
2023-07-28 00:17:26 -07:00
|
|
|
# Setup Copr repos
|
2023-10-13 14:35:10 -06:00
|
|
|
RUN sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \
|
2023-07-19 15:23:31 -07:00
|
|
|
sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_kylegospo-bazzite.repo && \
|
2023-08-09 13:07:39 -07:00
|
|
|
sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_kylegospo-bazzite-multilib.repo && \
|
2023-10-09 09:22:49 -07:00
|
|
|
sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_kylegospo-latencyflex.repo && \
|
2023-07-03 23:26:12 -07:00
|
|
|
sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_kylegospo-hl2linux-selinux.repo && \
|
2023-07-05 12:18:47 -07:00
|
|
|
sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_kylegospo-obs-vkcapture.repo && \
|
2023-07-25 11:13:28 -07:00
|
|
|
sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_kylegospo-wallpaper-engine-kde-plugin.repo && \
|
|
|
|
sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_ycollet-audinux.repo
|
2023-06-18 19:22:17 +00:00
|
|
|
|
2023-08-02 16:25:29 -07:00
|
|
|
# Configure KDE & GNOME
|
2023-08-07 13:26:21 -07:00
|
|
|
RUN if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \
|
2023-08-01 21:04:54 -06:00
|
|
|
rpm-ostree override remove \
|
2023-08-18 14:31:00 -07:00
|
|
|
steamdeck-kde-presets-desktop && \
|
2023-08-01 21:04:54 -06:00
|
|
|
rpm-ostree install \
|
|
|
|
steamdeck-kde-presets \
|
2023-08-02 16:25:29 -07:00
|
|
|
; else \
|
|
|
|
rpm-ostree install \
|
2023-10-22 14:47:45 -07:00
|
|
|
steamdeck-gnome-presets \
|
2023-10-31 12:40:52 -07:00
|
|
|
gnome-shell-extension-caribou-blocker \
|
2023-09-15 00:30:41 -07:00
|
|
|
sddm && \
|
2023-11-14 16:33:15 -08:00
|
|
|
wget https://raw.githubusercontent.com/doitsujin/dxvk/master/dxvk.conf -O /usr/etc/dxvk-example.conf && \
|
|
|
|
sed -i '/show-gamemode/{n;s/false/true/}' /usr/share/gnome-shell/extensions/logomenu@aryan_k/schemas/org.gnome.shell.extensions.logo-menu.gschema.xml && \
|
|
|
|
rm -f /usr/share/gnome-shell/extensions/logomenu@aryan_k/schemas/gschemas.compiled && \
|
|
|
|
glib-compile-schemas /usr/share/gnome-shell/extensions/logomenu@aryan_k/schemas/ \
|
2023-08-01 21:04:54 -06:00
|
|
|
; fi
|
|
|
|
|
2023-08-22 12:16:00 -07:00
|
|
|
# Install new packages
|
|
|
|
# Dock updater - done manually due to proprietary parts preventing it from being on Copr
|
|
|
|
# Neptune firmware - done manually due to "TBD" license on needed audio firmware
|
2023-06-18 19:22:17 +00:00
|
|
|
RUN rpm-ostree install \
|
2023-02-09 23:13:40 -08:00
|
|
|
jupiter-fan-control \
|
|
|
|
jupiter-hw-support-btrfs \
|
2023-11-24 00:08:10 -08:00
|
|
|
galileo-mura \
|
2023-08-17 23:46:10 -07:00
|
|
|
powerbuttond \
|
2023-08-29 07:17:14 -06:00
|
|
|
HandyGCCS \
|
2023-07-25 12:21:53 -07:00
|
|
|
vpower \
|
2023-07-24 12:09:59 -07:00
|
|
|
ds-inhibit \
|
2023-07-30 17:10:29 -07:00
|
|
|
steam_notif_daemon \
|
2023-06-21 16:24:25 -07:00
|
|
|
ryzenadj \
|
2023-11-16 12:39:08 -08:00
|
|
|
steam-patch \
|
2023-07-28 00:09:06 -07:00
|
|
|
sdgyrodsu \
|
2023-09-11 11:10:32 -07:00
|
|
|
sddm-sugar-steamOS \
|
2023-08-28 23:57:05 -07:00
|
|
|
ibus-pinyin \
|
|
|
|
ibus-table-chinese-cangjie \
|
|
|
|
ibus-table-chinese-quick \
|
2023-09-10 20:32:51 -07:00
|
|
|
socat \
|
2023-09-12 21:05:56 -07:00
|
|
|
zstd \
|
2023-10-27 19:46:54 -06:00
|
|
|
zenity \
|
|
|
|
newt \
|
2023-10-31 12:40:52 -07:00
|
|
|
qt5-qtvirtualkeyboard \
|
2023-11-09 23:45:55 -08:00
|
|
|
xorg-x11-server-Xvfb \
|
2023-07-28 00:09:06 -07:00
|
|
|
python-vdf \
|
2023-07-31 11:16:00 -07:00
|
|
|
python-crcmod && \
|
2023-08-22 12:16:00 -07:00
|
|
|
git clone https://gitlab.com/evlaV/jupiter-dock-updater-bin.git \
|
|
|
|
--depth 1 \
|
|
|
|
/tmp/jupiter-dock-updater-bin && \
|
|
|
|
mv -v /tmp/jupiter-dock-updater-bin/packaged/usr/lib/jupiter-dock-updater /usr/lib/jupiter-dock-updater && \
|
|
|
|
rm -rf /tmp/jupiter-dock-updater-bin && \
|
|
|
|
mkdir -p /tmp/linux-firmware-neptune && \
|
|
|
|
wget https://gitlab.com/evlaV/linux-firmware-neptune/-/raw/jupiter/cs35l41-dsp1-spk-cali.bin -O /tmp/linux-firmware-neptune/cs35l41-dsp1-spk-cali.bin && \
|
|
|
|
wget https://gitlab.com/evlaV/linux-firmware-neptune/-/raw/jupiter/cs35l41-dsp1-spk-cali.wmfw -O /tmp/linux-firmware-neptune/cs35l41-dsp1-spk-cali.wmfw && \
|
|
|
|
wget https://gitlab.com/evlaV/linux-firmware-neptune/-/raw/jupiter/cs35l41-dsp1-spk-prot.bin -O /tmp/linux-firmware-neptune/cs35l41-dsp1-spk-prot.bin && \
|
|
|
|
wget https://gitlab.com/evlaV/linux-firmware-neptune/-/raw/jupiter/cs35l41-dsp1-spk-prot.wmfw -O /tmp/linux-firmware-neptune/cs35l41-dsp1-spk-prot.wmfw && \
|
|
|
|
xz --check=crc32 /tmp/linux-firmware-neptune/cs35l41-dsp1-spk-{cali.bin,cali.wmfw,prot.bin,prot.wmfw} && \
|
|
|
|
mv -vf /tmp/linux-firmware-neptune/* /usr/lib/firmware/cirrus/ && \
|
2023-11-29 13:54:15 -08:00
|
|
|
rm -rf /tmp/linux-firmware-neptune && \
|
|
|
|
mkdir -p /tmp/linux-firmware-galileo && \
|
2023-11-29 13:56:27 -08:00
|
|
|
wget https://gitlab.com/evlaV/linux-firmware-neptune/-/archive/jupiter-20231113.1/linux-firmware-neptune-jupiter-20231113.1.tar.gz?path=ath11k/QCA206X -O /tmp/linux-firmware-galileo/ath11k.tar.gz && \
|
2023-11-29 13:54:15 -08:00
|
|
|
tar -xf ath11k.tar.gz --strip-components=1 && \
|
|
|
|
mv -vf /tmp/linux-firmware-galileo/ath11k/QCA206X /usr/lib/firmware/ath11k/QCA206X && \
|
|
|
|
rm -rf /tmp/linux-firmware-galileo
|
2023-02-09 11:08:39 -08:00
|
|
|
|
2023-11-10 13:19:01 -08:00
|
|
|
# Install Gamescope Session & Supporting changes
|
2023-09-12 21:05:56 -07:00
|
|
|
# Add bootstraplinux_ubuntu12_32.tar.xz used by gamescope-session (Thanks ChimeraOS! - https://chimeraos.org/)
|
2023-11-10 13:19:01 -08:00
|
|
|
# Remove Feral gamemode, System76-Scheduler supersedes this
|
2023-11-29 10:50:59 -07:00
|
|
|
RUN wget https://steamdeck-packages.steamos.cloud/archlinux-mirror/jupiter-main/os/x86_64/steam-jupiter-stable-1.0.0.78-1.2-x86_64.pkg.tar.zst -O /tmp/steam-jupiter.pkg.tar.zst && \
|
2023-09-18 21:17:00 -07:00
|
|
|
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 \
|
2023-10-27 19:21:34 -06:00
|
|
|
gamescope-session-plus \
|
2023-11-10 13:19:01 -08:00
|
|
|
gamescope-session-steam && \
|
2023-08-13 23:37:57 -07:00
|
|
|
if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \
|
|
|
|
rpm-ostree override remove \
|
|
|
|
gamemode \
|
|
|
|
; else \
|
|
|
|
rpm-ostree override remove \
|
|
|
|
gamemode \
|
|
|
|
gnome-shell-extension-gamemode \
|
|
|
|
; fi
|
2023-08-01 10:58:10 -07:00
|
|
|
|
2023-02-09 11:08:39 -08:00
|
|
|
# Cleanup & Finalize
|
2023-10-11 11:38:36 -07:00
|
|
|
COPY system_files/shared /
|
2023-09-22 11:19:14 -06:00
|
|
|
RUN /tmp/image-info.sh && \
|
2023-11-11 08:59:43 -08:00
|
|
|
mkdir -p "/usr/etc/xdg/autostart" && \
|
|
|
|
cp "/usr/share/applications/steam.desktop" "/usr/etc/xdg/autostart/steam.desktop" && \
|
|
|
|
sed -i 's@/usr/bin/bazzite-steam %U@/usr/bin/bazzite-steam -silent %U@g' /usr/etc/xdg/autostart/steam.desktop && \
|
2023-09-22 11:19:14 -06:00
|
|
|
rm /usr/share/applications/wine*.desktop && \
|
2023-07-28 12:35:36 -07:00
|
|
|
ln -s /usr/bin/steamos-logger /usr/bin/steamos-info && \
|
2023-07-28 00:17:26 -07:00
|
|
|
ln -s /usr/bin/steamos-logger /usr/bin/steamos-notice && \
|
|
|
|
ln -s /usr/bin/steamos-logger /usr/bin/steamos-warning && \
|
2023-08-27 18:38:52 -07:00
|
|
|
sed -i 's/870/817/' /usr/share/alsa/ucm2/AMD/acp5x/acp5x.conf && \
|
|
|
|
sed -i 's/252/207/' /usr/share/alsa/ucm2/AMD/acp5x/acp5x.conf && \
|
|
|
|
sed -i 's/192/207/' /usr/share/alsa/ucm2/AMD/acp5x/acp5x.conf && \
|
2023-09-17 09:30:24 -06:00
|
|
|
if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \
|
2023-09-19 08:47:51 -07:00
|
|
|
sed -i 's/Exec=.*/Exec=systemctl start return-to-gamemode.service/' /etc/skel.d/Desktop/Return.desktop \
|
2023-09-17 09:30:24 -06:00
|
|
|
; fi && \
|
2023-09-13 09:32:06 -07:00
|
|
|
cp "/usr/share/ublue-os/firstboot/yafti.yml" "/usr/etc/yafti.yml" && \
|
2023-07-28 00:17:26 -07:00
|
|
|
sed -i 's/#HandlePowerKey=poweroff/HandlePowerKey=suspend/g' /etc/systemd/logind.conf && \
|
2023-10-13 14:35:10 -06:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \
|
2023-07-19 15:23:31 -07:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite.repo && \
|
2023-07-23 01:59:14 -07:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite-multilib.repo && \
|
2023-02-09 11:08:39 -08:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-latencyflex.repo && \
|
2023-03-04 16:45:49 -08:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-hl2linux-selinux.repo && \
|
2023-07-03 23:26:12 -07:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-obs-vkcapture.repo && \
|
2023-07-05 12:18:47 -07:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-wallpaper-engine-kde-plugin.repo && \
|
2023-07-25 10:48:05 -07:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ycollet-audinux.repo && \
|
2023-09-03 18:57:39 -06:00
|
|
|
if grep -q "silverblue" <<< "${BASE_IMAGE_NAME}"; then \
|
2023-08-06 15:31:03 -06:00
|
|
|
systemctl disable gdm.service && \
|
2023-09-03 18:57:39 -06:00
|
|
|
systemctl enable sddm.service \
|
2023-08-01 23:05:06 -07:00
|
|
|
; fi && \
|
2023-09-12 16:36:22 -06:00
|
|
|
systemctl enable bazzite-autologin.service && \
|
2023-09-05 01:24:27 -07:00
|
|
|
systemctl enable btrfs-dedup@run-media-mmcblk0p1.timer && \
|
2023-07-24 12:09:59 -07:00
|
|
|
systemctl enable ds-inhibit.service && \
|
2023-10-06 16:55:13 -07:00
|
|
|
systemctl enable cec-onboot.service && \
|
|
|
|
systemctl enable cec-onpoweroff.service && \
|
|
|
|
systemctl enable cec-onsleep.service && \
|
2023-09-10 21:43:10 -07:00
|
|
|
systemctl --global enable steam-web-debug-portforward.service && \
|
2023-11-23 10:27:57 -08:00
|
|
|
systemctl --global disable sdgyrodsu.service && \
|
2023-06-28 13:25:20 -07:00
|
|
|
systemctl disable input-remapper.service && \
|
2023-09-17 12:43:16 -06:00
|
|
|
systemctl disable ublue-update.timer && \
|
2023-10-02 20:39:00 -06:00
|
|
|
systemctl disable handycon.service && \
|
2023-11-23 10:27:57 -08:00
|
|
|
systemctl disable jupiter-fan-control.service && \
|
|
|
|
systemctl disable vpower.service && \
|
|
|
|
systemctl disable jupiter-biosupdate.service && \
|
|
|
|
systemctl disable jupiter-controller-update.service && \
|
|
|
|
systemctl disable ryzenadj.service && \
|
|
|
|
systemctl disable batterylimit.service && \
|
2023-07-22 06:55:19 -06:00
|
|
|
rm -f /usr/etc/sddm.conf && \
|
2023-09-13 09:32:06 -07:00
|
|
|
rm -f /usr/etc/default/bazzite && \
|
2023-02-09 11:08:39 -08:00
|
|
|
rm -rf \
|
2023-02-15 07:27:19 -08:00
|
|
|
/tmp/* \
|
|
|
|
/var/* && \
|
2023-07-25 15:55:19 -07:00
|
|
|
mkdir -p /var/tmp && \
|
|
|
|
chmod -R 1777 /var/tmp && \
|
2023-11-08 15:18:08 -08:00
|
|
|
mkdir -p /var/lib/bluetooth && \
|
|
|
|
chmod -R 755 /var/lib/bluetooth && \
|
2023-02-09 11:08:39 -08:00
|
|
|
ostree container commit
|