From 12a21c5bc28a8d747dd891a038b8f02b1a4ff540 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Thu, 18 Apr 2024 23:57:02 -0700 Subject: [PATCH] chore: Restore tuned --- Containerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Containerfile b/Containerfile index 1bfb08d7..3ef7ed99 100644 --- a/Containerfile +++ b/Containerfile @@ -259,6 +259,13 @@ RUN rpm-ostree override remove \ firefox \ firefox-langpacks \ htop && \ + rpm-ostree override remove \ + power-profiles-daemon \ + || true && \ + rpm-ostree override remove \ + tlp \ + tlp-rdw \ + || true && \ ostree container commit # Install new packages @@ -273,6 +280,12 @@ RUN rpm-ostree install \ compsize \ input-remapper \ system76-scheduler \ + tuned \ + tuned-ppd \ + tuned-utils \ + tuned-gtk \ + tuned-profiles-atomic \ + tuned-profiles-cpu-partitioning \ powertop \ i2c-tools \ udica \ @@ -326,6 +339,7 @@ RUN rpm-ostree install \ sed -i 's/max_cpu_load_percent.*/max_cpu_load_percent = 100.0/' /usr/etc/ublue-update/ublue-update.toml && \ sed -i 's/max_mem_percent.*/max_mem_percent = 90.0/' /usr/etc/ublue-update/ublue-update.toml && \ sed -i 's/dbus_notify.*/dbus_notify = false/' /usr/etc/ublue-update/ublue-update.toml && \ + sed -i 's@Name=tuned-gui@Name=TuneD Manager@g' /usr/share/applications/tuned-gui.desktop && \ curl -Lo /usr/bin/installcab https://raw.githubusercontent.com/KyleGospo/steam-proton-mf-wmv/master/installcab.py && \ chmod +x /usr/bin/installcab && \ curl -Lo /usr/bin/install-mf-wmv https://github.com/KyleGospo/steam-proton-mf-wmv/blob/master/install-mf-wmv.sh && \ @@ -579,6 +593,7 @@ RUN curl -Lo /tmp/image-info.sh https://raw.githubusercontent.com/ublue-os/bazzi mkdir -p /usr/etc/flatpak/remotes.d && \ curl -Lo /usr/etc/flatpak/remotes.d/flathub.flatpakrepo https://dl.flathub.org/repo/flathub.flatpakrepo && \ systemctl enable com.system76.Scheduler.service && \ + systemctl enable tuned.service && \ systemctl enable btrfs-dedup@var-home.timer && \ systemctl enable displaylink.service && \ systemctl enable input-remapper.service && \