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:
commit
4090a65622
7 changed files with 307 additions and 0 deletions
12
Makefile
Normal file
12
Makefile
Normal 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue