Skip to content

Commit

Permalink
update makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
  • Loading branch information
ehazlett committed Dec 2, 2019
1 parent ae2826c commit c95b3ec
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Makefile
Expand Up @@ -13,6 +13,9 @@ MIRROR?=http://mirrors.gigenet.com/alpinelinux
PACKAGE_DIR?=${HOME}/packages
VAB_ARGS?=
OUTPUT_DIR?=./build
TAG?=edge
VERSION?=latest
ISO_EXTRA?=

terra: $(PACKAGES)

Expand All @@ -23,7 +26,11 @@ $(PACKAGES):
buildkit:
@vab build --local --output ${OUTPUT_DIR} -a PACKAGE_DIR=${PACKAGE_DIR} -a "PACKAGES=${PACKAGES}" -a MIRROR="${MIRROR}" -a SIGNING_PRIVATE_KEY="$${SIGNING_PRIVATE_KEY}" -a SIGNING_PUBLIC_KEY="$${SIGNING_PUBLIC_KEY}" ${VAB_ARGS} .

iso:
@echo "building iso ${VERSION} (${TAG})"
@cd scripts && sh mkimage.sh --tag ${TAG} --outdir ${OUTPUT_DIR} --arch x86_64 --repository ${MIRROR}/edge/main --repository ${MIRROR}/edge/testing --repository ${MIRROR}/edge/community ${ISO_EXTRA} --profile terra

clean:
@rm -rf build
@rm -rf ${OUTPUT_DIR}

.PHONY: $(PACKAGES) buildkit terra clean
.PHONY: $(PACKAGES) buildkit iso terra clean

0 comments on commit c95b3ec

Please sign in to comment.