1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Gary 9e14f0240e Add check for liveness on BOOT_HOST 2020-11-23 15:51:37 +00:00
Gary 942c8b6961 Ignore already created symnlink 2020-11-23 14:51:40 +00:00
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ all: base packages files commands build-overlay
base:
@echo " * Building Base Image..."
@ping -qW 1 -c 1 $(BOOT_HOST) >/dev/null || ( echo " -- Unable to reach $(BOOT_HOST)" && exit 1 )
@mkdir -p tmp base
@echo " -- Gathering base package info"
@wget -q $(MIRROR)/x86_64/ -O tmp/alpine-packages.html
@ -50,7 +51,7 @@ files: packages
commands: files
@echo " * Running Commands..."
@echo " -- Setup local start"
@ln -s /etc/init.d/local target/etc/runlevels/default/local
@ln -s /etc/init.d/local target/etc/runlevels/default/local 2>/dev/null || true
.PHONY: build-overlay
build-overlay: commands