opkg: Extend 'opkg list' command to optionally display package size
authorJohn Crispin <john@openwrt.org>
Wed, 16 Sep 2015 09:37:39 +0000 (09:37 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 16 Sep 2015 09:37:39 +0000 (09:37 +0000)
commite2d14b567510aa75ba7592acf329d972e3f35a06
tree999d5897951fe2b466abb9ddf3de3ff611b32e9b
parentd830d94c2e706b2fea0303e2ffce2e6de112d9fb
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>
SVN-Revision: 46980
package/system/opkg/Makefile
package/system/opkg/patches/260-add-print-package-size.patch [new file with mode: 0644]