mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-24 14:06:47 +01:00
test: simplify image build.
This commit is contained in:
parent
e71fc00d8e
commit
2a354452a9
1 changed files with 3 additions and 3 deletions
|
@ -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}" \
|
||||
|
|
Loading…
Reference in a new issue