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 v2: - Commit generated json (Daniel) Since v1: - Addressed Erik & Daniel comments (generate in JSON) Philippe Mathieu-Daudé (4): tests/lcitool: Generate distribution packages list in JSON format tests/lcitool: Refresh generated files tests/vm: Introduce get_qemu_packages_from_lcitool_json() helper tests/vm/freebsd: Get up-to-date package list from lcitool vars file tests/docker/dockerfiles/debian-amd64.docker | 2 - tests/docker/dockerfiles/ubuntu2004.docker | 2 - tests/docker/dockerfiles/ubuntu2204.docker | 2 - tests/lcitool/refresh | 11 +++ tests/vm/basevm.py | 11 +++ tests/vm/freebsd | 42 +---------- tests/vm/generated/README | 5 ++ tests/vm/generated/freebsd.json | 77 ++++++++++++++++++++ 8 files changed, 106 insertions(+), 46 deletions(-) create mode 100644 tests/vm/generated/README create mode 100644 tests/vm/generated/freebsd.json -- 2.38.1