On 11/07/2023 16.49, Philippe Mathieu-Daudé wrote:
Inspired by this patch from Thomas:
https://lore.kernel.org/qemu-devel/[email protected]/

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 -

Thanks, I'm queuing your patches for my next pull request - but I'm dropping the hunks that change libpmem-dev and libxen-dev in the docker files - otherwise this would just get reverted once somebody using a x86 host runs the refresh step again. I hope this issue can be tackled by a future lcitool update instead.

 Thomas


Reply via email to