All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony PERARD <anthony@xenproject.org>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Xen-devel <xen-devel@lists.xenproject.org>,
	"Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>,
	"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 v3 2/6] CI: avoid repacking initrd as part of the test job
Date: Mon, 14 Apr 2025 18:57:25 +0200	[thread overview]
Message-ID: <Z_0-dX2FkS6TCv-U@l14> (raw)
In-Reply-To: <20250414110903.2355303-3-andrew.cooper3@citrix.com>

On Mon, Apr 14, 2025 at 12:08:59PM +0100, Andrew Cooper wrote:
> From: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
> 
> Use the new test-artifacts which provide rootfs.cpio.gz rather than
> initrd.tar.gz.  rootfs.cpio.gz also has all the necessary top-level
> directories, and includes the rc_verbose setting, so these modifications can
> be dropped.
> 
> Having that, do not repack the whole initrd, but only pack modified
> files and rely on Linux handling of concatenated archives.
> This allows packing just test-related files (which includes the whole
> toolstack), instead of the whole initrd.
> 
> For xilinx-smoke-dom0-x86_64.sh, this involves instructing grub not to unzip
> the archive, as doing so corrupts it.
> 
> Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>

This patch seems to depends on the other patch series for
"test-artifacts" repo.

I've tried to compare the rootfs fs generated by this repo, and the one
generated in the "test-artifacts" repo, and I think there's a few
changes, at least for the arm64 rootfs as the changes have probably
already sailed for x86_64, namely:

    Those don't exist in the new rootfs:
        rc-update add networking sysinit
        rc-update add modloop sysinit
        rc-update add modules boot
        rc-update add sysctl boot
    There's `echo > /etc/modules` been added.

But I guess none of those matter, as it already works on x86_64 tests.

Overall, looks good, more common code between tests!

Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>

Thanks,

-- 
Anthony PERARD


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

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-14 11:08 [PATCH v3 0/6] CI: switch to CPIO archives Andrew Cooper
2025-04-14 11:08 ` [PATCH v3 1/6] CI: Rename intermediate artefacts in qemu-* scripts Andrew Cooper
2025-04-14 16:19   ` Anthony PERARD
2025-04-14 11:08 ` [PATCH v3 2/6] CI: avoid repacking initrd as part of the test job Andrew Cooper
2025-04-14 16:57   ` Anthony PERARD [this message]
2025-04-14 17:29     ` Andrew Cooper
2025-04-15 23:48   ` Stefano Stabellini
2025-04-16 10:05     ` Andrew Cooper
2025-04-16 21:54       ` Stefano Stabellini
2025-04-14 11:09 ` [PATCH v3 3/6] CI: remove now unused alpine-3.18-arm64-rootfs job and its container Andrew Cooper
2025-04-14 16:57   ` Anthony PERARD
2025-04-14 11:09 ` [PATCH v3 4/6] CI: Switch to new argo artefact Andrew Cooper
2025-04-14 17:24   ` Anthony PERARD
2025-04-14 17:25     ` Andrew Cooper
2025-04-14 11:09 ` [PATCH v3 5/6] CI: save toolstack artifact as cpio.gz Andrew Cooper
2025-04-14 17:31   ` Anthony PERARD
2025-04-14 11:09 ` [PATCH v3 6/6] CI: Include microcode for x86 hardware jobs Andrew Cooper
2025-04-14 17:45   ` Anthony PERARD
2025-04-14 17:47     ` Andrew Cooper
2025-04-14 17:55       ` Marek Marczykowski-Górecki
2025-04-14 18:01         ` Andrew Cooper
2025-04-14 12:47 ` [PATCH RFC 7/6] CI: Adjust how domU is packaged in dom0 Andrew Cooper
2025-04-14 17:34   ` Marek Marczykowski-Górecki

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_0-dX2FkS6TCv-U@l14 \
    --to=anthony@xenproject.org \
    --cc=andrew.cooper3@citrix.com \
    --cc=anthony.perard@vates.tech \
    --cc=cardoe@cardoe.com \
    --cc=marmarek@invisiblethingslab.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.