poky/scripts/contrib
Anders Wallin 9e0f210179 scripts/contrib/image-manifest: add new script
image-manifest: script to generate product/image specific BOM

The image-manifest script generates image specific reports based on
an image manifest file. Currently there is data generated by buildhistory,
pkgdata, and license manifest but this data is poorly formated and spread
across multiple text files. This script can generate a single JSON output
file that is machine readable by other tools.

The manifest-info collects package information and stores the information
in a tarball. manifest-info can be configured using a json configuration
file. The default configuration including all possible options can be
dumped using the dump-config subcommand.

image-manifest takes an image manifest file as input to get the runtime
dependencies. As an option image-manifest can also use the build dependency
file, pn-buildlist, to get the build dependencies excluding native
packages.

This script extends the oe-image-manifest script [0] done by Paul Eggleton

[0]
https://github.com/intel/clear-linux-dissector-web/blob/master/layerindex/static/files/oe-image-manifest

------------------------------------------------------
usage: image-manifest [-h] [-d] [-q] <subcommand> ...

Image manifest utility

options:
  -h, --help     show this help message and exit
  -d, --debug    Enable debug output
  -q, --quiet    Print only errors

subcommands:
  recipe-info    Get recipe info
  list-depends   List dependencies
  list-recipes   List recipes producing packages within an image
  list-packages  List packages within an image
  list-layers    List included layers
  dump-config    Dump default config
  manifest-info  Export recipe info for a manifest
Use image-manifest <subcommand> --help to get help on a specific command

Co-developed-by: Paul Eggleton <bluelightning@bluelightning.org>
(From OE-Core rev: ad8fec9ce1704866df925bda18a240d6889b1ed5)

Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
..
bb-perf buildstats-plot.sh: Show spaces and underscores correctly in titles/keys 2020-03-29 12:05:31 +01:00
bbvars.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
build-perf-test-wrapper.sh meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
ddimage scripts/contrib/ddimage: be explicit whether device doesn't exist or isn't writeable 2019-07-03 17:00:57 +01:00
devtool-stress.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
dialog-power-control meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
documentation-audit.sh documentation-audit.sh: Fix typo in specifying LICENSE_FLAGS_WHITELIST 2021-03-26 11:34:33 +00:00
graph-tool graph-tool: add filter subcommand 2020-06-16 23:39:28 +01:00
image-manifest scripts/contrib/image-manifest: add new script 2021-04-18 11:37:25 +01:00
list-packageconfig-flags.py scripts/contrib/list-packageconfig-flags: Upate for tinfoil API changes 2021-03-15 14:49:09 +00:00
oe-build-perf-report-email.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
patchreview.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
patchtest.sh meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
serdevtry meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
test_build_time_worker.sh meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
test_build_time.sh meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
uncovered meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
verify-homepage.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00