Re: [OpenWrt-Devel] [PATCH][RFC] opkg: add License to info command

2019-05-13 Thread Jo-Philipp Wich
Hi, please make sure that the license info is only parsed when it is required by the toplevel command being executed, look at the other usages of the PFM_* macros in the source. Without this, the in-memory representation of the package trees will consume way more RAM due to the redundant license

[OpenWrt-Devel] [PATCH][RFC] opkg: add License to info command

2019-05-11 Thread Paul Spooren
show license in `opkg info `. Signed-off-by: Paul Spooren --- This patch isn't complete yet. It show the license info as long as the package isn't installed. Once it's installed it seems to forget the information. I can't figure out why. Also printing `opkg list` doesn't add the License, neither