On 11/7/23 21:39, Warner Losh wrote:
> On Tue, Jul 11, 2023 at 8:49 AM Philippe Mathieu-Daudé
> <philmd@linaro.org <mailto:philmd@linaro.org>> wrote:
>
> Add the generate_pkglist() helper to generate a list of packages
> required by a distribution to build QEMU.
>
> Since we can not add a "THIS FILE WAS AUTO-GENERATED" comment in
> JSON, create the files under tests/vm/generated/ sub-directory;
> add a README mentioning the files are generated.
>
> Suggested-by: Erik Skultety <eskultet@redhat.com
> <mailto:eskultet@redhat.com>>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org
> <mailto:philmd@linaro.org>>
>
>
> Reviewed-by: Warner Losh <imp@bsdimp.com <mailto:imp@bsdimp.com>>
>
> also, FreeBSD 14 branches next month... do I just grep for FreeBSD-13 to
> find all the places to update for 14.0?
Per docs/about/build-platforms.rst:
Linux OS, macOS, FreeBSD, NetBSD, OpenBSD
-----------------------------------------
The project aims to support the most recent major version at all
times for up to five years after its initial release. Support
for the previous major version will be dropped 2 years after the
new major version is released or when the vendor itself drops
support, whichever comes first. [...]
We want to be able to test the oldest/newest releases.
Maybe we can add a pair of definitions, so we'd have to only
change 2 lines in a single place when releases occur?
I'd love that. There's two bits of information per release: name and checksum
of release artifacts.
Warner
> @@ -191,6 +197,11 @@ try:
> generate_cirrus("freebsd-13")
> generate_cirrus("macos-12")
>
> + #
> + # VM packages lists
> + #
> + generate_pkglist("freebsd", "freebsd-13")