2023-06-18 19:22:17 +00:00
|
|
|
ARG BASE_IMAGE_NAME="${BASE_IMAGE_NAME:-kinoite}"
|
|
|
|
ARG IMAGE_FLAVOR="${IMAGE_FLAVOR:-main}"
|
|
|
|
ARG SOURCE_IMAGE="${SOURCE_IMAGE:-$BASE_IMAGE_NAME-$IMAGE_FLAVOR}"
|
|
|
|
ARG BASE_IMAGE="ghcr.io/ublue-os/${SOURCE_IMAGE}"
|
|
|
|
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-38}"
|
|
|
|
|
|
|
|
FROM ${BASE_IMAGE}:${FEDORA_MAJOR_VERSION} AS bazzite
|
|
|
|
|
|
|
|
ARG IMAGE_NAME="${IMAGE_NAME}"
|
|
|
|
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION}"
|
2023-02-09 19:08:39 +00:00
|
|
|
|
2023-08-02 01:55:25 +00:00
|
|
|
COPY system_files/desktop/shared /
|
2023-08-02 03:37:51 +00:00
|
|
|
COPY system_files/desktop/gnome/* /tmp/gnome
|
|
|
|
COPY system_files/desktop/kde/* /tmp/kde
|
2023-08-02 01:55:25 +00:00
|
|
|
RUN if grep "gnome" <<< "${IMAGE_NAME}"; then \
|
2023-08-02 06:38:13 +00:00
|
|
|
rsync -rvK /tmp/gnome/ / \
|
2023-08-02 03:37:51 +00:00
|
|
|
; else \
|
2023-08-02 06:38:13 +00:00
|
|
|
rsync -rvK /tmp/kde/ / \
|
2023-08-02 06:05:06 +00:00
|
|
|
; fi
|
2023-07-28 07:17:26 +00:00
|
|
|
|
2023-08-01 15:36:47 +00:00
|
|
|
# Add ublue packages, add needed negativo17 repo and then immediately disable due to incompatibility with RPMFusion
|
|
|
|
COPY --from=ghcr.io/ublue-os/akmods:${FEDORA_MAJOR_VERSION} /rpms /tmp/akmods-rpms
|
|
|
|
COPY --from=ghcr.io/ublue-os/ublue-update:latest /rpms/ublue-update.noarch.rpm /tmp/rpms/ublue-update.noarch.rpm
|
|
|
|
COPY --from=ghcr.io/ublue-os/bling:latest /rpms/ublue-os-wallpapers-*.noarch.rpm /tmp/rpms/ublue-os-wallpapers.rpm
|
2023-07-28 07:17:26 +00:00
|
|
|
RUN sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \
|
2023-08-01 15:36:47 +00:00
|
|
|
wget https://negativo17.org/repos/fedora-multimedia.repo -O /etc/yum.repos.d/negativo17-fedora-multimedia.repo && \
|
|
|
|
rpm-ostree install \
|
|
|
|
/tmp/akmods-rpms/kmods/*gcadapter_oc*.rpm \
|
|
|
|
/tmp/akmods-rpms/kmods/*openrgb*.rpm \
|
|
|
|
/tmp/akmods-rpms/kmods/*evdi*.rpm \
|
|
|
|
/tmp/rpms/ublue-update.noarch.rpm \
|
|
|
|
/tmp/rpms/ublue-os-wallpapers.rpm && \
|
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/negativo17-fedora-multimedia.repo
|
|
|
|
|
|
|
|
# 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-07-28 07:17:26 +00: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 && \
|
|
|
|
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-08-02 07:22:06 +00: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 && \
|
|
|
|
wget https://copr.fedorainfracloud.org/coprs/lyessaadi/gradience/repo/fedora-$(rpm -E %fedora)/lyessaadi-gradience-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_lyessaadi-gradience.repo
|
2023-02-09 19:08:39 +00:00
|
|
|
|
2023-07-28 07:17:26 +00:00
|
|
|
# Remove unneeded packages
|
|
|
|
RUN rpm-ostree override remove \
|
|
|
|
ublue-os-update-services \
|
|
|
|
firefox \
|
|
|
|
firefox-langpacks \
|
|
|
|
toolbox \
|
2023-08-02 03:04:54 +00:00
|
|
|
htop
|
2023-02-09 19:08:39 +00:00
|
|
|
|
|
|
|
# Install new packages
|
|
|
|
RUN rpm-ostree install \
|
2023-06-23 18:54:54 +00:00
|
|
|
python3-pip \
|
2023-06-25 00:05:16 +00:00
|
|
|
libadwaita \
|
2023-08-02 02:28:11 +00:00
|
|
|
sddm-sugar-steamOS \
|
2023-02-10 07:13:40 +00:00
|
|
|
distrobox \
|
2023-06-18 19:22:17 +00:00
|
|
|
duperemove \
|
2023-07-21 23:24:56 +00:00
|
|
|
rmlint \
|
2023-07-21 23:27:20 +00:00
|
|
|
compsize \
|
2023-07-27 18:52:18 +00:00
|
|
|
ddccontrol \
|
|
|
|
ddccontrol-gtk \
|
2023-06-27 14:40:04 +00:00
|
|
|
input-remapper \
|
2023-06-18 19:22:17 +00:00
|
|
|
system76-scheduler \
|
|
|
|
hl2linux-selinux \
|
2023-07-04 06:26:12 +00:00
|
|
|
libobs_glcapture \
|
|
|
|
libobs_vkcapture \
|
2023-07-05 02:41:17 +00:00
|
|
|
obs-vkcapture \
|
2023-07-25 17:48:05 +00:00
|
|
|
ladspa-noise-suppression-for-voice \
|
2023-07-05 02:41:17 +00:00
|
|
|
btop \
|
2023-07-15 22:41:44 +00:00
|
|
|
neofetch \
|
2023-07-28 07:55:55 +00:00
|
|
|
fish \
|
|
|
|
xdotool \
|
|
|
|
yad
|
2023-06-18 19:22:17 +00:00
|
|
|
|
2023-08-02 07:18:36 +00:00
|
|
|
# Configure KDE & GNOME
|
2023-08-02 03:04:54 +00:00
|
|
|
RUN if grep -v "gnome" <<< "${IMAGE_NAME}"; then \
|
2023-08-02 07:26:24 +00:00
|
|
|
rpm-ostree override replace \
|
|
|
|
--experimental \
|
|
|
|
--from repo=copr:copr.fedorainfracloud.org:kylegospo:gnome-vrr \
|
2023-08-02 07:18:36 +00:00
|
|
|
xorg-x11-server-Xwayland && \
|
2023-08-02 03:04:54 +00:00
|
|
|
rpm-ostree override remove \
|
|
|
|
plasma-welcome \
|
2023-08-02 02:37:07 +00:00
|
|
|
qt5-qdbusviewer && \
|
2023-08-02 03:04:54 +00:00
|
|
|
rpm-ostree install \
|
|
|
|
steamdeck-kde-presets-desktop \
|
|
|
|
wallpaper-engine-kde-plugin \
|
|
|
|
kdeconnectd \
|
2023-08-02 07:18:36 +00:00
|
|
|
; else \
|
2023-08-02 07:26:24 +00:00
|
|
|
rpm-ostree override replace \
|
|
|
|
--experimental \
|
|
|
|
--from repo=copr:copr.fedorainfracloud.org:kylegospo:gnome-vrr \
|
2023-08-02 07:18:36 +00:00
|
|
|
mutter \
|
|
|
|
gnome-control-center \
|
|
|
|
gnome-control-center-filesystem \
|
2023-08-02 07:22:06 +00:00
|
|
|
xorg-x11-server-Xwayland && \
|
|
|
|
rpm-ostree install \
|
|
|
|
sddm \
|
|
|
|
gradience \
|
|
|
|
adw-gtk3-theme \
|
2023-08-02 18:18:36 +00:00
|
|
|
gnome-tweaks \
|
2023-08-02 21:23:25 +00:00
|
|
|
gnome-shell-extension-user-theme \
|
|
|
|
gnome-shell-extension-gsconnect \
|
2023-08-02 23:46:39 +00:00
|
|
|
gnome-shell-extension-system76-scheduler \
|
2023-08-02 03:04:54 +00:00
|
|
|
; fi
|
|
|
|
|
2023-07-06 22:02:56 +00:00
|
|
|
# Install ROCM on non-Nvidia images
|
|
|
|
RUN if grep -v "nvidia" <<< "${IMAGE_NAME}"; then \
|
|
|
|
rpm-ostree install \
|
|
|
|
rocm-hip \
|
|
|
|
rocm-opencl \
|
2023-07-30 21:59:19 +00:00
|
|
|
; fi
|
2023-07-30 20:13:55 +00:00
|
|
|
|
2023-06-18 19:22:17 +00:00
|
|
|
# Cleanup & Finalize
|
2023-07-31 01:08:19 +00:00
|
|
|
RUN rm /usr/share/applications/shredder.desktop && \
|
2023-07-31 06:54:41 +00:00
|
|
|
rm /usr/share/vulkan/icd.d/lvp_icd.*.json && \
|
2023-07-31 01:08:19 +00:00
|
|
|
mkdir -p "/usr/etc/profile.d/" && \
|
2023-07-28 07:17:26 +00:00
|
|
|
ln -s "/usr/share/ublue-os/firstboot/launcher/login-profile.sh" \
|
|
|
|
"/usr/etc/profile.d/ublue-firstboot.sh" && \
|
|
|
|
pip install --prefix=/usr yafti && \
|
2023-07-19 22:23:31 +00:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \
|
2023-06-23 18:39:07 +00:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite.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 && \
|
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-hl2linux-selinux.repo && \
|
2023-07-04 06:26:12 +00:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-obs-vkcapture.repo && \
|
2023-07-05 19:18:47 +00:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-wallpaper-engine-kde-plugin.repo && \
|
2023-07-22 07:02:53 +00:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-gnome-vrr.repo && \
|
2023-07-25 17:48:05 +00:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ycollet-audinux.repo && \
|
2023-08-02 07:22:06 +00:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_lyessaadi-gradience.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-07-30 20:38:12 +00:00
|
|
|
flatpak remove --system --noninteractive --all && \
|
2023-07-30 21:59:19 +00:00
|
|
|
mkdir -p /etc/flatpak/remotes.d && \
|
|
|
|
wget -q https://dl.flathub.org/repo/flathub.flatpakrepo -P /etc/flatpak/remotes.d && \
|
2023-07-30 20:38:12 +00:00
|
|
|
cat /etc/flatpak/install | while read line; do flatpak install --system --noninteractive --no-deploy flathub $line; done && \
|
2023-08-01 20:57:28 +00:00
|
|
|
cat /etc/flatpak/deck | while read line; do flatpak install --system --noninteractive --no-deploy flathub $line; done && \
|
2023-08-01 02:45:36 +00:00
|
|
|
mkdir -p /etc/flatpak/{flathub,objects} && \
|
2023-08-01 00:37:19 +00:00
|
|
|
cp -r /var/lib/flatpak/repo/refs/remotes/flathub/* /etc/flatpak/flathub && \
|
2023-08-01 02:45:36 +00:00
|
|
|
cp -r /var/lib/flatpak/repo/objects/* /etc/flatpak/objects && \
|
2023-07-30 20:38:12 +00:00
|
|
|
systemctl unmask flatpak-system-install.service && \
|
|
|
|
systemctl enable flatpak-system-install.service && \
|
2023-07-01 05:54:08 +00:00
|
|
|
systemctl disable rpm-ostreed-automatic.timer && \
|
|
|
|
systemctl --global enable ublue-update.timer && \
|
2023-08-02 00:42:06 +00:00
|
|
|
systemctl enable displaylink.service && \
|
2023-06-27 14:40:04 +00:00
|
|
|
systemctl enable input-remapper.service && \
|
2023-08-02 06:05:06 +00:00
|
|
|
if grep "gnome" <<< "${IMAGE_NAME}"; then \
|
|
|
|
systemctl disable gdm.service && \
|
2023-08-02 06:19:37 +00:00
|
|
|
systemctl enable sddm.service \
|
2023-08-02 06:05:06 +00:00
|
|
|
; fi && \
|
2023-06-18 19:22:17 +00:00
|
|
|
rm -rf \
|
|
|
|
/tmp/* \
|
|
|
|
/var/* && \
|
|
|
|
mkdir -p /var/tmp && \
|
2023-07-25 22:55:19 +00:00
|
|
|
chmod -R 1777 /var/tmp && \
|
|
|
|
mkdir -p /var/lib/duperemove && \
|
|
|
|
ostree container commit
|
2023-06-18 19:22:17 +00:00
|
|
|
|
|
|
|
FROM bazzite as bazzite-deck
|
|
|
|
|
|
|
|
ARG IMAGE_NAME="${IMAGE_NAME}"
|
|
|
|
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION}"
|
|
|
|
|
2023-08-02 01:55:25 +00:00
|
|
|
COPY system_files/deck/shared /
|
2023-08-02 03:37:51 +00:00
|
|
|
COPY system_files/deck/gnome/* /tmp/gnome
|
|
|
|
COPY system_files/deck/kde/* /tmp/kde
|
2023-08-02 01:55:25 +00:00
|
|
|
RUN if grep "gnome" <<< "${IMAGE_NAME}"; then \
|
2023-08-02 06:38:13 +00:00
|
|
|
rsync -rvK /tmp/gnome/ / \
|
2023-08-02 03:37:51 +00:00
|
|
|
; else \
|
2023-08-02 06:38:13 +00:00
|
|
|
rsync -rvK /tmp/kde/ / \
|
2023-08-02 06:05:06 +00:00
|
|
|
; fi
|
2023-08-02 01:55:25 +00:00
|
|
|
|
2023-07-28 07:17:26 +00:00
|
|
|
# Setup Copr repos
|
|
|
|
RUN 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 && \
|
|
|
|
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 && \
|
|
|
|
sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \
|
2023-07-19 22:23:31 +00:00
|
|
|
sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_kylegospo-bazzite.repo && \
|
2023-07-04 06:26:12 +00:00
|
|
|
sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_kylegospo-hl2linux-selinux.repo && \
|
2023-07-05 19:18:47 +00:00
|
|
|
sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_kylegospo-obs-vkcapture.repo && \
|
2023-07-25 18:13:28 +00: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-07-23 07:59:48 +00:00
|
|
|
# Install Valve's Steam Deck drivers as kmods
|
2023-07-19 22:23:31 +00:00
|
|
|
COPY --from=ghcr.io/ublue-os/akmods:${FEDORA_MAJOR_VERSION} /rpms /tmp/akmods-rpms
|
2023-07-20 04:53:04 +00:00
|
|
|
RUN rpm-ostree install \
|
2023-07-21 21:33:32 +00:00
|
|
|
/tmp/akmods-rpms/kmods/*steamdeck*.rpm
|
2023-07-19 22:23:31 +00:00
|
|
|
|
2023-07-28 07:17:26 +00:00
|
|
|
# Remove unneeded packages
|
|
|
|
RUN rpm-ostree override remove \
|
2023-07-28 19:35:36 +00:00
|
|
|
ddccontrol \
|
2023-08-02 06:28:00 +00:00
|
|
|
ddccontrol-gtk && \
|
|
|
|
if grep -v "gnome" <<< "${IMAGE_NAME}"; then \
|
|
|
|
rpm-ostree override remove \
|
|
|
|
steamdeck-kde-presets-desktop \
|
|
|
|
; fi
|
2023-07-03 23:05:51 +00:00
|
|
|
|
2023-08-02 07:26:24 +00:00
|
|
|
# Install gamescope-limiter patched Mesa and patched udisks2 (Needed for SteamOS SD card mounting)
|
|
|
|
RUN rpm-ostree override replace \
|
|
|
|
--experimental \
|
|
|
|
--from repo=copr:copr.fedorainfracloud.org:kylegospo:bazzite-multilib \
|
|
|
|
mesa-dri-drivers \
|
|
|
|
mesa-libEGL \
|
|
|
|
mesa-libgbm \
|
|
|
|
mesa-libGL \
|
|
|
|
mesa-libglapi \
|
|
|
|
mesa-vulkan-drivers && \
|
|
|
|
rpm-ostree override replace \
|
|
|
|
--experimental \
|
|
|
|
--from repo=copr:copr.fedorainfracloud.org:kylegospo:bazzite \
|
|
|
|
udisks2
|
2023-06-28 18:51:04 +00:00
|
|
|
|
2023-08-02 23:25:29 +00:00
|
|
|
# Configure KDE & GNOME
|
2023-08-02 03:04:54 +00:00
|
|
|
RUN if grep -v "gnome" <<< "${IMAGE_NAME}"; then \
|
|
|
|
rpm-ostree override remove \
|
|
|
|
krfb \
|
2023-08-02 02:37:07 +00:00
|
|
|
krfb-libs && \
|
2023-08-02 03:04:54 +00:00
|
|
|
rpm-ostree install \
|
|
|
|
steamdeck-kde-presets \
|
2023-08-02 23:25:29 +00:00
|
|
|
; else \
|
|
|
|
rpm-ostree install \
|
|
|
|
gnome-shell-extension-bazzite-menu \
|
2023-08-02 03:04:54 +00:00
|
|
|
; fi
|
|
|
|
|
2023-07-31 18:16:00 +00:00
|
|
|
# Install new packages & dock updater - done manually due to proprietary parts preventing it from being on Copr
|
2023-06-18 19:22:17 +00:00
|
|
|
RUN rpm-ostree install \
|
2023-08-01 17:58:10 +00:00
|
|
|
mesa-va-drivers \
|
2023-02-10 07:13:40 +00:00
|
|
|
jupiter-fan-control \
|
|
|
|
jupiter-hw-support-btrfs \
|
2023-07-25 19:21:53 +00:00
|
|
|
vpower \
|
2023-07-24 19:09:59 +00:00
|
|
|
ds-inhibit \
|
2023-07-31 00:10:29 +00:00
|
|
|
steam_notif_daemon \
|
2023-06-21 23:24:25 +00:00
|
|
|
ryzenadj \
|
2023-02-10 07:13:40 +00:00
|
|
|
latencyflex-vulkan-layer \
|
|
|
|
vkBasalt \
|
2023-06-19 22:59:57 +00:00
|
|
|
mangohud \
|
2023-07-28 07:09:06 +00:00
|
|
|
sdgyrodsu \
|
2023-07-28 18:35:59 +00:00
|
|
|
winetricks \
|
2023-07-28 07:09:06 +00:00
|
|
|
python-vdf \
|
2023-07-31 18:16:00 +00:00
|
|
|
python-crcmod && \
|
|
|
|
git clone https://gitlab.com/evlaV/jupiter-dock-updater-bin.git --depth 1 /tmp/jupiter-dock-updater-bin && \
|
2023-06-29 02:29:04 +00:00
|
|
|
mv -v /tmp/jupiter-dock-updater-bin/packaged/usr/lib/jupiter-dock-updater /usr/lib/jupiter-dock-updater
|
2023-02-09 19:08:39 +00:00
|
|
|
|
2023-08-01 17:58:10 +00:00
|
|
|
# Install Steam and Lutris into their own OCI layer
|
|
|
|
RUN rpm-ostree install \
|
|
|
|
steam \
|
|
|
|
lutris \
|
|
|
|
gamescope \
|
|
|
|
gamescope-session
|
|
|
|
|
2023-02-09 19:08:39 +00:00
|
|
|
# Cleanup & Finalize
|
2023-07-30 23:27:07 +00:00
|
|
|
RUN rm /usr/share/applications/winetricks.desktop && \
|
2023-07-28 19:35:36 +00:00
|
|
|
ln -s /usr/bin/steamos-logger /usr/bin/steamos-info && \
|
2023-07-28 07:17:26 +00:00
|
|
|
ln -s /usr/bin/steamos-logger /usr/bin/steamos-notice && \
|
|
|
|
ln -s /usr/bin/steamos-logger /usr/bin/steamos-warning && \
|
|
|
|
sed -i 's/#HandlePowerKey=poweroff/HandlePowerKey=suspend/g' /etc/systemd/logind.conf && \
|
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \
|
2023-07-19 22:23:31 +00:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite.repo && \
|
2023-07-23 08:59:14 +00:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite-multilib.repo && \
|
2023-02-09 19:08:39 +00:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-latencyflex.repo && \
|
2023-03-05 00:45:49 +00:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-hl2linux-selinux.repo && \
|
2023-07-04 06:26:12 +00:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-obs-vkcapture.repo && \
|
2023-07-05 19:18:47 +00:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-wallpaper-engine-kde-plugin.repo && \
|
2023-07-25 17:48:05 +00:00
|
|
|
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ycollet-audinux.repo && \
|
2023-07-22 12:55:19 +00:00
|
|
|
mv /etc/sddm.conf /etc/sddm.conf.d/steamos.conf && \
|
2023-08-02 02:11:48 +00:00
|
|
|
if grep "gnome" <<< "${IMAGE_NAME}"; then \
|
2023-08-02 06:05:06 +00:00
|
|
|
systemctl enable gnome-autologin.service \
|
|
|
|
; fi && \
|
|
|
|
if grep -v "gnome" <<< "${IMAGE_NAME}"; then \
|
|
|
|
systemctl enable plasma-autologin.service \
|
|
|
|
; fi && \
|
2023-07-08 05:02:46 +00:00
|
|
|
systemctl enable jupiter-fan-control.service && \
|
2023-07-25 19:21:53 +00:00
|
|
|
systemctl enable vpower.service && \
|
2023-07-24 19:09:59 +00:00
|
|
|
systemctl enable ds-inhibit.service && \
|
2023-06-28 20:25:20 +00:00
|
|
|
systemctl disable input-remapper.service && \
|
2023-07-03 17:38:39 +00:00
|
|
|
systemctl --global disable ublue-update.timer && \
|
2023-07-22 12:55:19 +00:00
|
|
|
rm -f /usr/etc/sddm.conf && \
|
2023-02-09 19:08:39 +00:00
|
|
|
rm -rf \
|
2023-02-15 15:27:19 +00:00
|
|
|
/tmp/* \
|
|
|
|
/var/* && \
|
2023-07-25 22:55:19 +00:00
|
|
|
mkdir -p /var/tmp && \
|
|
|
|
chmod -R 1777 /var/tmp && \
|
2023-02-09 22:56:17 +00:00
|
|
|
mkdir -p /var/lib/duperemove && \
|
2023-07-25 01:48:48 +00:00
|
|
|
mkdir -p /var/lib/bluetooth && \
|
2023-02-09 19:08:39 +00:00
|
|
|
ostree container commit
|