2020-07-02 20:44:00 +00:00
|
|
|
.PHONY: all _update monitnerr-1 monitnerr-2
|
2020-06-27 20:00:24 +00:00
|
|
|
|
|
|
|
all:
|
|
|
|
tar cf breakglass.tar --dereference sh \
|
|
|
|
&& breakglass -debug_tarball_pattern breakglass.tar monitnerr-1
|
|
|
|
|
2020-07-02 20:44:00 +00:00
|
|
|
monitnerr-1: DEVICE := monitnerr-1
|
|
|
|
monitnerr-1: _update
|
|
|
|
|
|
|
|
monitnerr-2: DEVICE := monitnerr-2
|
|
|
|
monitnerr-2: _update
|
|
|
|
|
|
|
|
_update:
|
2020-06-27 20:00:24 +00:00
|
|
|
gokr-packer \
|
2020-07-02 20:44:00 +00:00
|
|
|
-update=http://gokrazy:$(shell cat ~/.config/gokrazy/$(DEVICE).txt)@$(DEVICE)/ \
|
|
|
|
-hostname=$(DEVICE) \
|
2020-06-27 20:00:24 +00:00
|
|
|
github.com/gokrazy/breakglass \
|
|
|
|
github.com/mdlayher/consrv \
|
|
|
|
github.com/prometheus/node_exporter
|