initial commit

but the unifi deb still has to be manually dpkg -i after first run

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2017-08-22 16:16:05 -04:00
commit 4090a65622
Signed by: vbatts
GPG key ID: 10937E57733F1362
7 changed files with 307 additions and 0 deletions

12
Makefile Normal file
View file

@ -0,0 +1,12 @@
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