mbox series

[v2,0/3] tests/vm/freebsd: Get up-to-date package list from lcitool

Message ID 20230711140143.65818-1-philmd@linaro.org
Headers show
Series tests/vm/freebsd: Get up-to-date package list from lcitool | expand

Message

Philippe Mathieu-Daudé July 11, 2023, 2:01 p.m. UTC
Inspired by this patch from Thomas:
https://lore.kernel.org/qemu-devel/20230531090415.40421-1-thuth@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(-)