Inspired by this patch from Thomas:
https://lore.kernel.org/qemu-devel/20230531090415.40421-1-th...@redhat.com/

Instead of updating the package list manually, use lcitool vars file.

Since v1:
- Addressed Erik & Daniel comments (generate in JSON)

Philippe Mathieu-Daudé (3):
  tests/lcitool: Generate distribution packages list in JSON format
  tests/vm: Introduce get_qemu_packages_from_lcitool_json() helper
  tests/vm/freebsd: Get up-to-date package list from lcitool vars file

 tests/lcitool/refresh     | 11 ++++++++++
 tests/vm/Makefile.include |  6 ++++++
 tests/vm/basevm.py        |  9 +++++++++
 tests/vm/freebsd          | 42 ++-------------------------------------
 4 files changed, 28 insertions(+), 40 deletions(-)

-- 
2.38.1


Reply via email to