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

Drop unused packages #2607

Merged
merged 13 commits into from
Jan 24, 2025
Merged

Drop unused packages #2607

merged 13 commits into from
Jan 24, 2025

Conversation

krnowak
Copy link
Member

@krnowak krnowak commented Jan 23, 2025

CI: http://jenkins.infra.kinvolk.io:8080/job/container/job/sdk/1920/cldsv/

This is mostly about dropping unused packages and cleaning up related entries in profiles.

I also added two group packages to the production images - they should have been there, but probably something stopped pulling them at some point, so I'm bringing them back. I hope to use them to eventually get rid of the passwd and group files from baselayout.

  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

@krnowak krnowak requested a review from a team January 24, 2025 09:19
@krnowak krnowak marked this pull request as ready for review January 24, 2025 09:20
@krnowak
Copy link
Member Author

krnowak commented Jan 24, 2025

CI passed.

@krnowak krnowak added the main label Jan 24, 2025
Copy link

github-actions bot commented Jan 24, 2025

We had those packages in portage-stable, but nothing pulled them
in. These packages add groups that exist in group file in baselayout,
which we would want to get rid of eventually.
It used to be pulled in by net-misc/iputils, but now this happens only
for 9999 version of the package, which we don't use.
I think I pulled the package from Gentoo in order to update some
protobuf package, which needed abseil. But it fizzled out once I
realized that update_engine needs to be updated first to the new
version of protobuf library.
Mentions of virtual/rust in some scripts were replaced with
dev-lang/rust-bin. These were usually about skipping the update/build
of the package, and these already contained dev-lang/rust, so added
the -bin variant for completeness.
Copy link
Contributor

@chewi chewi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was a little surprised to see udisks being dropped, but it does appear to be more of a desktop thing. It is used by fwupd though, which got me wondering whether we should include that for bare metal users. Probably not something you should run in a container.

@chewi
Copy link
Contributor

chewi commented Jan 24, 2025

Eh, scratch that, it's written in Python.

@krnowak krnowak merged commit b77bc1f into main Jan 24, 2025
1 check was waiting
@krnowak krnowak deleted the krnowak/package-cleanups branch January 24, 2025 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

3 participants