Luci opkg/packages: Show package size in list of available packages
authorHannu Nyman <hannu.nyman@iki.fi>
Wed, 16 Sep 2015 09:47:48 +0000 (12:47 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Wed, 16 Sep 2015 09:47:48 +0000 (12:47 +0300)
commit3288fe76ab3d2269abcf902d0df6f847c6200e8e
treed888be73618f08826021fae9ef74786c34535405
parent7347cf00cb3a39e6b33026ad872beee6e3b0c6e7
Luci opkg/packages: Show package size in list of available packages

Add package *.ipk size information to package listing in Luci,
as opkg was today extended to support listing also the size information.
Visible fields are now: name, version, size, description

That will help users considering installation of a certain package
to assess its size impact on flash.

Note: Opkg data includes the size of the .ipk file, not the expanded size.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
modules/luci-base/luasrc/model/ipkg.lua
modules/luci-mod-admin-full/luasrc/view/admin_system/packages.htm