From 9b9d3dedbb1c690850fc222609cfa7f9613ef8b4 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 5 Nov 2020 17:30:23 +0100 Subject: [PATCH] docs/manual: add some minimal documentation about show-info and pkg-stats Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- docs/manual/common-usage.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/manual/common-usage.txt b/docs/manual/common-usage.txt index 7cfda10365..9ba87a8339 100644 --- a/docs/manual/common-usage.txt +++ b/docs/manual/common-usage.txt @@ -157,6 +157,29 @@ your filesystem, those parts may not be all-zeroes when read back). You should only use sparse files when handling files on the build machine, not when transferring them to an actual device that will be used on the target. +=== Details about packages + +[[package-details]] + +Buildroot can produce a JSON blurb that describes the set of enabled +packages in the current configuration, together with their +dependencies, licenses and other metadata. This JSON blurb is produced +by using the +show-info+ make target: + +------------------------ +make show-info +------------------------ + +Buildroot can also produce details about packages as HTML and JSON +output using the +pkg-stats+ make target. Amongst other things, these +details include whether known CVEs (security vulnerabilities) affect +the packages in your current configuration. It also shows if there is +a newer upstream version for those packages. + +------------------------ +make pkg-stats +------------------------ + === Graphing the dependencies between packages [[graph-depends]]