Added missing dependency which broke LuCI

Removed unneeded Broadcom sanity check
This commit is contained in:
Steven Barth 2008-08-09 00:42:35 +00:00
parent db8e5858bf
commit d1998ce924
3 changed files with 3 additions and 5 deletions

View file

@ -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

View file

@ -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(

View file

@ -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(