From 2a354452a9ca5f4c06d3c84116d3fafe9a8c004a Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sun, 10 Sep 2023 12:24:47 +0100 Subject: [PATCH] test: simplify image build. --- tests/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 7e4a440c..d595eff2 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -13,11 +13,11 @@ flavor ?= disk ?= 10G VERSION := 0.$(shell git rev-list --count HEAD)-1 -PACKERS = $(notdir $(patsubst %.pkr.hcl,%,$(wildcard packer/*.pkr.hcl))) +BASE = archlinux debian ubuntu opensuse -.PHONY: ${PACKERS} lint +.PHONY: ${BASE} lint -$(PACKERS): +$(BASE): make --directory=../ package dist=${@} packer build -force -var version=${VERSION} \ -var disk_size=${disk} -var flavor="${flavor}" \