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)
commit5bf8dd5e5e509cdade63d3ddbf80ae472197f555
tree0bdbadd06648fd3f71bd9b24b0a34be5096f48c2
parentcb632b2d3b6383fdf9e1351157e2c8f518638016
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]