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

stage0: remove unnecessary firmware packages #718

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stefanb2
Copy link
Contributor

While merging the Debian Bookworm changes into our tailored stage2 baseline branch I noticed that about 50 additional packages were installed compared to Bullseye, e.g. full gcc, man pages and *-dev packages. None of them are required to build or run the stage2 image.

For the default Raspi OS stage2 build, i.e. -lite image, this change doesn't have any big effects, because the above mentioned packages are dragged in via dependencies for other packages. We gave removed these packages in our tailored configuration.

The changes to step 02-firmware:

  • move 01-packages to 01-packages-nr
  • remove linux-headers-*
  • add zstd & firmware packages from recommends list that aren't listed in another step.

NOTE: this will cause merge conflicts with arm64 branch. Similar changes need to be done for the arm64 configuration.

This removes about 50 packages in tailored stage2 configurations that
are unnecessary to build or run the -lite image, e.g. full gcc, man
pages and *-dev packages.

- move 01-packages to 01-packages-nr
- remove linux-headers-*
- add zstd & firmware packages from recommends list that aren't listed
  in another step.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant