feat: Add TuneD-PPD, replacing power profiles daemon

This commit is contained in:
Kyle Gospodnetich 2024-01-16 20:30:42 -08:00
parent 0b4e26abf5
commit 7d63435a7d

View File

@ -179,7 +179,15 @@ RUN rpm-ostree override remove \
ublue-os-update-services \
firefox \
firefox-langpacks \
htop
htop && \
if ! [[ "${IMAGE_FLAVOR}" =~ "framework" ]]; then \
rpm-ostree override remove \
power-profiles-daemon \
; else \
rpm-ostree override remove \
tlp \
tlp-rdw \
; fi
# Install new packages
RUN rpm-ostree install \
@ -194,6 +202,15 @@ RUN rpm-ostree install \
compsize \
input-remapper \
system76-scheduler \
tuned \
tuned-utils \
tuned-utils-systemtap \
tuned-ppd \
tuned-gtk \
tuned-profiles-compat \
tuned-profiles-atomic \
tuned-profiles-cpu-partitioning \
powertop \
hl2linux-selinux \
joycond \
ladspa-caps-plugins \
@ -439,6 +456,8 @@ RUN /tmp/image-info.sh && \
mkdir -p /usr/etc/flatpak/remotes.d && \
wget -q https://dl.flathub.org/repo/flathub.flatpakrepo -P /usr/etc/flatpak/remotes.d && \
systemctl enable com.system76.Scheduler.service && \
systemctl enable tuned.service && \
systemctl enable tuned-ppd.service && \
systemctl enable btrfs-dedup@var-home.timer && \
systemctl enable displaylink.service && \
systemctl enable input-remapper.service && \