1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00
mdlayher-homelab/gokrazy/monitnerr-1/Makefile
Matt Layher cd3b752ffe
gokrazy: consrv drop privileges
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2024-01-17 10:21:41 -05:00

17 lines
388 B
Makefile

GOK := sed 's,"HTTPPassword": "","HTTPPassword": "$(GOKRAZY_PASSWORD)",g' config.tmpl.json > config.json && gok -i monitnerr-1 --parent_dir=/home/mdlayher/src/github.com/mdlayher/homelab/gokrazy
all:
.PHONY: get update overwrite root
get:
${GOK} get --update_all
update:
${GOK} update
overwrite:
${GOK} overwrite --full /dev/sdx
root:
${GOK} overwrite --root /tmp/root.squashfs