From: Heiko Thiery Date: Sat, 7 Mar 2020 07:56:27 +0000 (+0100) Subject: support/scripts/pkg-stats: add package count to stats X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e267518cbd13747726fd946f6430e4bdcb1c121;p=buildroot.git support/scripts/pkg-stats: add package count to stats Signed-off-by: Heiko Thiery Signed-off-by: Thomas Petazzoni --- diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 0d4bb13196..0e7d60bdbb 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -552,6 +552,7 @@ def check_package_cves(nvd_path, packages): def calculate_stats(packages): stats = defaultdict(int) + stats['packages'] = len(packages) for pkg in packages: # If packages have multiple infra, take the first one. For the # vast majority of packages, the target and host infra are the