Skip to content

Commit

Permalink
chore: Install TuneD on F39 only
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Jan 29, 2024
1 parent 9f7d0e6 commit 25c7811
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
22 changes: 11 additions & 11 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 @@ -61,15 +68,6 @@ RUN sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/negativo17-fedora-multimedia.repo && \
wget https://copr.fedorainfracloud.org/coprs/che/nerd-fonts/repo/fedora-"${FEDORA_MAJOR_VERSION}"/che-nerd-fonts-fedora-"${FEDORA_MAJOR_VERSION}".repo -O /etc/yum.repos.d/_copr_che-nerd-fonts-"${FEDORA_MAJOR_VERSION}".repo

# Remove PPD & TLP
RUN rpm-ostree override remove \
power-profiles-daemon \
|| true && \
rpm-ostree override remove \
tlp \
tlp-rdw \
|| true

# Starship Shell Prompt
RUN curl -Lo /tmp/starship.tar.gz "https://github.com/starship/starship/releases/latest/download/starship-x86_64-unknown-linux-gnu.tar.gz" && \
tar -xzf /tmp/starship.tar.gz -C /tmp && \
Expand All @@ -90,7 +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 && \
systemctl enable tuned.service && \
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
12 changes: 6 additions & 6 deletions packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@
"stress-ng",
"tailscale",
"tmux",
"tuned",
"tuned-ppd",
"tuned-utils",
"tuned-utils-systemtap",
"tuned-profiles-atomic",
"usbmuxd",
"wireguard-tools",
"xprop",
Expand Down Expand Up @@ -137,7 +132,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

0 comments on commit 25c7811

Please sign in to comment.