Added missing dependency which broke LuCI
Removed unneeded Broadcom sanity check
This commit is contained in:
parent
db8e5858bf
commit
d1998ce924
3 changed files with 3 additions and 5 deletions
|
@ -100,7 +100,7 @@ endef
|
|||
|
||||
define Package/luci-core
|
||||
$(call Package/luci/libtemplate)
|
||||
DEPENDS:=+lua +luaposix
|
||||
DEPENDS:=+lua +luaposix +bitlib
|
||||
TITLE:=LuCI core libraries
|
||||
endef
|
||||
|
||||
|
|
|
@ -243,10 +243,9 @@ function action_upgrade()
|
|||
|
||||
local ret = nil
|
||||
local plat = luci.fs.mtime("/lib/upgrade/platform.sh")
|
||||
local broadcom = os.execute('grep brcm_ /lib/upgrade/platform.sh >/dev/null 2>&1') == 0
|
||||
local tmpfile = "/tmp/firmware.img"
|
||||
|
||||
local keep_avail = not broadcom
|
||||
local keep_avail = true
|
||||
|
||||
local file
|
||||
luci.http.setfilehandler(
|
||||
|
|
|
@ -81,10 +81,9 @@ function action_upgrade()
|
|||
|
||||
local ret = nil
|
||||
local plat = luci.fs.mtime("/lib/upgrade/platform.sh")
|
||||
local broadcom = os.execute('grep brcm_ /lib/upgrade/platform.sh >/dev/null 2>&1') == 0
|
||||
local tmpfile = "/tmp/firmware.img"
|
||||
|
||||
local keep_avail = not broadcom
|
||||
local keep_avail = true
|
||||
|
||||
local file
|
||||
luci.http.setfilehandler(
|
||||
|
|
Loading…
Reference in a new issue