13 lines
365 B
Makefile
13 lines
365 B
Makefile
|
|
||
|
UBNT_VERSION := 5.5.20
|
||
|
ROOT_SIZE := 2147483648
|
||
|
FETCHED_DIR := ./mkosi.cache/fetched
|
||
|
PASSWORD := ubnt
|
||
|
|
||
|
build: $(FETCHED_DIR)/unifi_sysvinit_all.deb
|
||
|
sudo mkosi --force --password $(PASSWORD) --extra-tree $(FETCHED_DIR)/ --root-size $(ROOT_SIZE)
|
||
|
|
||
|
$(FETCHED_DIR)/unifi_sysvinit_all.deb:
|
||
|
curl -s -o $@ http://dl.ubnt.com/unifi/$(UBNT_VERSION)/unifi_sysvinit_all.deb
|
||
|
|