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: strip out unnecessary GNOME applications from @Workstation group #23

Merged
merged 2 commits into from
Dec 23, 2024
Merged
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
53 changes: 50 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,58 @@ dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noar

dnf -y install @multimedia gstreamer1-plugins-{bad-free,bad-free-libs,good,base} lame{,-libs} libjxl plymouth plymouth-system-theme

dnf group install -y --nobest Workstation
# `dnf group info Workstation` without GNOME
dnf group install -y --nobest \
-x rsyslog* \
-x cockpit \
-x PackageKit \
-x PackageKit-command-not-found \
"Common NetworkManager submodules" \
"Core" \
"Fonts" \
"Guest Desktop Agents" \
"Hardware Support" \
"Printing Client" \
"Standard" \
"Workstation product core"

dnf -y remove console-login-helper-messages cockpit-packagekit rsyslog
# Minimal GNOME group. ("Multimedia" adds most of the packages from the GNOME group. This should clear those up too.)
# In order to reproduce this, get the packages with `dnf group info GNOME`, install them manually with dnf install and see all the packages that are already installed.
# Other than that, I've removed a few packages we didnt want, those being a few GUI applications.
dnf -y install \
-x PackageKit \
-x PackageKit-command-not-found \
-x gnome-software-fedora-langpacks \
"NetworkManager-adsl" \
"centos-backgrounds" \
"gdm" \
"gnome-bluetooth" \
"gnome-color-manager" \
"gnome-control-center" \
"gnome-initial-setup" \
"gnome-remote-desktop" \
"gnome-session-wayland-session" \
"gnome-settings-daemon" \
"gnome-shell" \
"gnome-software" \
"gnome-user-docs" \
"gvfs-fuse" \
"gvfs-goa" \
"gvfs-gphoto2" \
"gvfs-mtp" \
"gvfs-smb" \
"libsane-hpaio" \
"nautilus" \
"orca" \
"ptyxis" \
"sane-backends-drivers-scanners" \
"xdg-desktop-portal-gnome" \
"xdg-user-dirs-gtk" \
"yelp-tools"

# This adds "[systemd] Failed Units: *" to the bashrc startup
dnf -y remove console-login-helper-messages

dnf upgrade -y
# This seems weirdly like a Schrödinger's issue. Removing the kernel here fails some builds and not removing it actually-
# breaks some stuff? I dont know exactly what to do here.
# FIXME: Figure out if this is necessary
Expand Down