build: initialize host/var/state/ as well
This commit is contained in:
parent
6dffa9ea56
commit
cdfe9d6c7b
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -41,6 +41,7 @@ luahost: luabuild hostcopy
|
|||
|
||||
hostcopy:
|
||||
mkdir -p host/tmp
|
||||
mkdir -p host/var/state
|
||||
for i in $(MODULES); do cp -pR $$i/dist/* host/ 2>/dev/null || true; done
|
||||
for i in $(MODULES); do cp -pR $$i/hostfiles/* host/ 2>/dev/null || true; done
|
||||
rm -f host/luci
|
||||
|
|
Loading…
Reference in a new issue