From: "Daniel P. Berrangé" <berrange@redhat.com>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: "Thomas Huth" <thuth@redhat.com>,
qemu-devel@nongnu.org, "Ed Maste" <emaste@freebsd.org>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Kyle Evans" <kevans@freebsd.org>,
"Li-Wen Hsu" <lwhsu@freebsd.org>,
"Erik Skultety" <eskultet@redhat.com>,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
"Beraldo Leal" <bleal@redhat.com>, "Warner Losh" <imp@bsdimp.com>
Subject: Re: [PATCH 3/3] tests/vm/freebsd: Get up-to-date package list from lcitool vars file
Date: Thu, 1 Jun 2023 10:55:02 +0100 [thread overview]
Message-ID: <ZHhq9tvTtHQwHdm/@redhat.com> (raw)
In-Reply-To: <20230531200906.17790-4-philmd@linaro.org>
On Wed, May 31, 2023 at 10:09:06PM +0200, Philippe Mathieu-Daudé wrote:
> See previous commit for rationale on using lcitool vars file to
> get an up-to-date package list. Since there is a such file generated
> for FreeBSD 13 available in the repository, use it. That way we
> don't need to manually keep this array in sync.
>
> Inspired-by: Thomas Huth <thuth@redhat.com>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> tests/vm/freebsd | 44 ++++----------------------------------------
> 1 file changed, 4 insertions(+), 40 deletions(-)
>
> diff --git a/tests/vm/freebsd b/tests/vm/freebsd
> index 6a0d7a4569..4f12878645 100755
> --- a/tests/vm/freebsd
> +++ b/tests/vm/freebsd
> @@ -31,45 +31,7 @@ class FreeBSDVM(basevm.BaseVM):
> link = "https://download.freebsd.org/releases/CI-IMAGES/13.2-RELEASE/amd64/Latest/FreeBSD-13.2-RELEASE-amd64-BASIC-CI.raw.xz"
> csum = "a4fb3b6c7b75dd4d58fb0d75e4caf72844bffe0ca00e66459c028b198ffb3c0e"
> size = "20G"
> - pkgs = [
> - # build tools
> - "git",
> - "pkgconf",
> - "bzip2",
> - "python39",
> - "ninja",
> -
> - # gnu tools
> - "bash",
> - "gmake",
> - "gsed",
> - "gettext",
> -
> - # libs: crypto
> - "gnutls",
> -
> - # libs: images
> - "jpeg-turbo",
> - "png",
> -
> - # libs: ui
> - "sdl2",
> - "gtk3",
> - "libxkbcommon",
> -
> - # libs: opengl
> - "libepoxy",
> - "mesa-libs",
> -
> - # libs: migration
> - "zstd",
> -
> - # libs: networking
> - "libslirp",
> -
> - # libs: sndio
> - "sndio",
> - ]
> + lcitool_vars = ".gitlab-ci.d/cirrus/freebsd-13.vars"
So we have various other distros in the tests/vm/ directory, for which
we have lcitool support, but for which there's no existing vars file.
I'm wondering if we're better off just putting the data files we need
directly in the tests/vm/ directory, and keeping it indepenant of the
cirrus CI data files. It is all auto-generated, so the duplication
would not be a maint burden.
eg just have a 'freebsd.json' file, alongside the 'freebsd' script.
We should also expand lcitool to cover haiku, netbsd and openbsd
distros one day.
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
prev parent reply other threads:[~2023-06-01 9:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20230531200906.17790-1-philmd@linaro.org>
[not found] ` <20230531200906.17790-3-philmd@linaro.org>
2023-06-01 7:36 ` [PATCH 2/3] tests/vm: Introduce get_qemu_packages_from_lcitool_vars() helper Erik Skultety
2023-06-01 9:57 ` Daniel P. Berrangé
2023-06-01 8:05 ` [PATCH 0/3] tests/vm/freebsd: Get up-to-date package list from lcitool Erik Skultety
[not found] ` <20230531200906.17790-4-philmd@linaro.org>
2023-06-01 9:55 ` Daniel P. Berrangé [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=ZHhq9tvTtHQwHdm/@redhat.com \
--to=berrange@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=bleal@redhat.com \
--cc=emaste@freebsd.org \
--cc=eskultet@redhat.com \
--cc=imp@bsdimp.com \
--cc=kevans@freebsd.org \
--cc=lwhsu@freebsd.org \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
--cc=wainersm@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).