stage0: remove unnecessary firmware packages - #718
Open
stefanb2 wants to merge 1 commit into
Open
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:01-packagesto01-packages-nrlinux-headers-*zstd& firmware packages from recommends list that aren't listed in another step.NOTE: this will cause merge conflicts with
arm64branch. Similar changes need to be done for the arm64 configuration.