opkg: Extend 'opkg list' command to optionally display package size
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 16 Sep 2015 09:37:39 +0000 (09:37 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 16 Sep 2015 09:37:39 +0000 (09:37 +0000)
commit97e7e2bae9beced5b079d352035a5e914e9715e2
tree999d5897951fe2b466abb9ddf3de3ff611b32e9b
parent3986ecfb7edf11cf8fde86e219b3ccebcc76f8a0
opkg: Extend 'opkg list' command to optionally display package size

'opkg list' command only displays the available packages' name, version and
description. It would be useful to also see the approximate size of the
available package.

This patch extends "opkg list" command with "--size" to optionally show also
the *.ipk size.
* Default behaviour is to list the available packages as earlier:
  "name - version - description"
* with "--size" the output of is "name - version - size - description".

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46980 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/system/opkg/Makefile
package/system/opkg/patches/260-add-print-package-size.patch [new file with mode: 0644]