Skip to content

Fix kselftest trixie net - #3233

Merged
nuclearcat merged 2 commits into
kernelci:mainfrom
nuclearcat:fix-kselftest-trixie-net
Oct 1, 2026
Merged

nuclearcat merged 2 commits into
kernelci:mainfrom
nuclearcat:fix-kselftest-trixie-net

Conversation

@nuclearcat

Copy link
Copy Markdown
Member

No description provided.

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>
@nuclearcat
nuclearcat added this pull request to the merge queue Oct 1, 2026
Merged via the queue into kernelci:main with commit 4f0253f Oct 1, 2026
3 checks passed
@nuclearcat
nuclearcat deleted the fix-kselftest-trixie-net branch October 1, 2026 14:45
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.

1 participant