[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2.1 4/7] Shrink the rootfs substantially
On Mon, Apr 14, 2025 at 12:52:26PM +0100, Andrew Cooper wrote: > bash, busybox, musl and zlib are all in the base container. > > python3 and ncurses are in principle used by bits of Xen, but not in anything > we test in CI. argp-standlone, curl, dbus, libfdt, libgcc and sudo aren't > used at all (for x86 at least). > > libbz2 and libuuid were pulled in transitively before, and need to be included > explicitly now. > > Use apk --no-cache to avoid keeping a ~2M package index on disk. Use apk > upgrade in case there are changes to the base container. > > Remove the modules scan on boot. We don't have or build any (except argo, and > that's handled specially). This removes a chunk of warnings on boot. > > This shrinks the rootfs from ~30M down to ~8M. > > Factor out some x86-isms in preparation for ARM64 support. > > No practical change. > > Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Reviewed-by: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx> -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab Attachment:
signature.asc
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |