OSDN Git Service

tests/lcitool: Generate distribution packages list in JSON format
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 11 Jul 2023 14:49:19 +0000 (16:49 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 18 Jul 2023 07:36:28 +0000 (09:36 +0200)
commit03e596de1789af2d6d3ef222268642ee34c08a1d
tree368c57b553014cb81e5fbfc8fd6e99d75ce736d8
parent94aaf6d8a589490706e8cdc1ae725743f101124a
tests/lcitool: Generate distribution packages list in JSON format

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>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Message-Id: <20230711144922.67491-2-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/lcitool/refresh
tests/vm/generated/README [new file with mode: 0644]