All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Xen-devel <xen-devel@lists.xenproject.org>,
	Anthony PERARD <anthony.perard@vates.tech>,
	Stefano Stabellini <sstabellini@kernel.org>,
	Michal Orzel <michal.orzel@amd.com>,
	Doug Goldstein <cardoe@cardoe.com>
Subject: Re: [PATCH v2.1 4/7] Shrink the rootfs substantially
Date: Mon, 14 Apr 2025 16:22:17 +0200	[thread overview]
Message-ID: <Z_0aGT-YW-EeVPnb@mail-itl> (raw)
In-Reply-To: <20250414115226.2357714-1-andrew.cooper3@citrix.com>

[-- Attachment #1: Type: text/plain, Size: 1093 bytes --]

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@citrix.com>

Reviewed-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>

-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2025-04-14 14:22 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-14 10:18 [PATCH TEST-ARTEFACTS v2 0/7] Rootfs/argo cleanup and microcode support Andrew Cooper
2025-04-14 10:18 ` [PATCH v2 1/7] Rename and adjust x86 containers Andrew Cooper
2025-04-14 11:12   ` Marek Marczykowski-Górecki
2025-04-14 10:18 ` [PATCH v2 2/7] Overhaul how Argo is built and packged Andrew Cooper
2025-04-14 10:35   ` Marek Marczykowski-Górecki
2025-04-14 10:38     ` Andrew Cooper
2025-04-14 10:55   ` Daniel P. Smith
2025-04-15 23:48   ` Stefano Stabellini
2025-04-16 10:15     ` Andrew Cooper
2025-04-16 10:21       ` Marek Marczykowski-Górecki
2025-04-14 10:18 ` [PATCH v2 3/7] Rework rootfs generation to make a cpio archive Andrew Cooper
2025-04-14 11:15   ` Marek Marczykowski-Górecki
2025-04-14 10:18 ` [PATCH v2 4/7] Shrink the rootfs substantially Andrew Cooper
2025-04-14 11:25   ` Marek Marczykowski-Górecki
2025-04-14 11:35     ` Andrew Cooper
2025-04-14 11:52   ` [PATCH v2.1 " Andrew Cooper
2025-04-14 14:22     ` Marek Marczykowski-Górecki [this message]
2025-04-14 10:18 ` [PATCH v2 5/7] Adjust directory layout for rootfs.cpio.gz Andrew Cooper
2025-04-14 14:21   ` Marek Marczykowski-Górecki
2025-04-14 10:18 ` [PATCH v2 6/7] Provide an ARM64 rootfs too Andrew Cooper
2025-04-14 14:23   ` Marek Marczykowski-Górecki
2025-04-14 10:18 ` [PATCH v2 7/7] Package microcode for the x86 hardware runners Andrew Cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z_0aGT-YW-EeVPnb@mail-itl \
    --to=marmarek@invisiblethingslab.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=anthony.perard@vates.tech \
    --cc=cardoe@cardoe.com \
    --cc=michal.orzel@amd.com \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.