Fix kselftest trixie net - #3233
Merged
Merged
Conversation
jdim is a GTK desktop client for the 2ch bulletin board, unused by any selftest, and it pulled about 118 MB of GTK stack into every image. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
Nothing in the recipe removed /var/lib/apt/lists, so every full archive and the rootfs.ext4 image carried the uncompressed Packages index and the English translations, about 88 MB on trixie. The indexes only disappeared from the final cpio because crush.sh wipes /var. The clean step could not drop them either, as the initramfs step still runs apt-get download against them inside the image. Configure apt right after debootstrap to skip translations and store the indexes compressed, which is what the Debian container images do, and remove the indexes in the clean step before the archives and the image are created. The initramfs script now fetches its own index, about 21 MB on disk, and removes it again once apt is no longer needed. The later purge and autoremove steps work without an index. Validated with a trixie amd64 build: the full archives contain an empty /var/lib/apt/lists and the initramfs step completes. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
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.
No description provided.