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@lists.xenproject.org,
	"Stefano Stabellini" <sstabellini@kernel.org>,
	"Roger Pau Monné" <roger.pau@citrix.com>
Subject: Re: [PATCH test-artifacts] Add debian rootfs artifact
Date: Thu, 7 Aug 2025 12:01:32 +0200	[thread overview]
Message-ID: <aJR5fGn4kU4HYGfA@mail-itl> (raw)
In-Reply-To: <461423ec-9c34-4df6-a073-d1e4c78badad@citrix.com>

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

On Thu, Aug 07, 2025 at 08:55:56AM +0100, Andrew Cooper wrote:
> On 07/08/2025 1:03 am, Marek Marczykowski-Górecki wrote:
> > Will be used as dom0/domU in some tests.
> >
> > Install OpenRC and setup it to start /etc/local.d/ scripts so tests
> > don't need different cases for Alpine and Debian.
> 
> (Yeah, I got this via CC.)
> 
> I was just thinking that we needed some non-Alpine testing too, but for
> a different reason.
> 
> We have systemd configuration in Xen, and changes to it, yet no CI of
> what is the most common init system in Linux these days.
> 
> What would need to be different in tests to avoid OpenRC?  If it's only
> the script to start the test running, can't we just declare a name, and
> arrange for both init systems to run it?

In this particular test, probably just that. And convincing
systemd/journald to dump logs to the console. But some other tests (if
we'd want to reuse this artifact) wait for "Welcome to Alpine Linux"
text, or start other services via /etc/init.d (mostly xencommons...).

And also - installing openrc takes 3MB, installing (just) systemd takes
30MB. And I haven't tried yet if any auxiliary package isn't needed
too...
But I can see what it takes to make the test use systemd.

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

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

      reply	other threads:[~2025-08-07 10:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250807000318.2284283-1-marmarek@invisiblethingslab.com>
2025-08-07  0:05 ` [PATCH test-artifacts] Add debian rootfs artifact Marek Marczykowski-Górecki
2025-08-07  7:55 ` Andrew Cooper
2025-08-07 10:01   ` Marek Marczykowski-Górecki [this message]

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=aJR5fGn4kU4HYGfA@mail-itl \
    --to=marmarek@invisiblethingslab.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=roger.pau@citrix.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.