Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Switch to TuneD from PPD (F39+) #836

Merged
merged 7 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@ RUN if [ ${FEDORA_MAJOR_VERSION} -ge "39" ]; then \
vte-profile && \
rpm-ostree install \
prompt && \
rm -f /etc/yum.repos.d/_copr_kylegospo-prompt.repo \
rm -f /etc/yum.repos.d/_copr_kylegospo-prompt.repo && \
rpm-ostree override remove \
power-profiles-daemon \
|| true && \
rpm-ostree override remove \
tlp \
tlp-rdw \
|| true \
; fi

COPY usr /usr
Expand Down Expand Up @@ -81,6 +88,9 @@ RUN wget https://copr.fedorainfracloud.org/coprs/ublue-os/staging/repo/fedora-"$
printf "\n\n[Install]\nWantedBy=bluefin-cli.target" >> /usr/etc/containers/systemd/users/bluefin-cli.container && \
sed -i '/AutoUpdate.*/ s/^#*/#/' /usr/etc/containers/systemd/users/bluefin-cli.container && \
sed -i 's/ContainerName=bluefin/ContainerName=bluefin-cli/' /usr/etc/containers/systemd/users/bluefin-cli.container && \
if [[ "${FEDORA_MAJOR_VERSION}" -ge "39" ]]; then \
systemctl enable tuned.service \
; fi && \
systemctl enable rpm-ostree-countme.service && \
systemctl enable tailscaled.service && \
systemctl enable dconf-update.service && \
Expand Down Expand Up @@ -139,9 +149,6 @@ RUN wget https://copr.fedorainfracloud.org/coprs/ganto/lxc4/repo/fedora-"${FEDOR
RUN /tmp/build.sh && \
/tmp/image-info.sh

## power-profiles-daemon with amd p-state support, remove when this is upstream
RUN rpm-ostree override replace --experimental --from repo=copr:copr.fedorainfracloud.org:ublue-os:staging power-profiles-daemon

RUN wget https://github.com/docker/compose/releases/latest/download/docker-compose-linux-x86_64 -O /tmp/docker-compose && \
install -c -m 0755 /tmp/docker-compose /usr/bin

Expand Down
7 changes: 6 additions & 1 deletion packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,12 @@
"bluefin": [
"gnome-shell-extension-tailscale-gnome-qs",
"input-leap",
"nautilus-open-any-terminal"
"nautilus-open-any-terminal",
"tuned",
"tuned-ppd",
"tuned-utils",
"tuned-utils-systemtap",
"tuned-profiles-atomic"
],
"bluefin-dx": [],
"bluefin-framework": []
Expand Down
Loading