poky/scripts
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
..
contrib scripts/contrib/image-manifest: add new script 2021-04-18 11:37:25 +01:00
lib devtool: Fix do_kernel_configme task 2021-03-14 16:33:59 +00:00
native-intercept scripts/native-intercept: Add chgrp intercept 2019-11-14 13:21:00 +00:00
postinst-intercepts update_udev_hwdb: clean hwdb.bin 2020-10-31 08:54:12 +00:00
pybootchartgui scripts/pybootchartgui: Fix to work with python 3.8 2020-03-15 22:23:19 +00:00
tiny scripts/tiny/ksize: Fix for more recent kernels 2020-05-09 18:57:21 +01:00
autobuilder-worker-prereq-tests meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
bitbake-prserv-tool meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
bitbake-whatchanged bitbake-whatchanged: change ending quote to proper period 2021-03-14 16:33:59 +00:00
buildall-qemu buildall-qemu: automate build testing for qemu MACHINEs 2020-04-24 14:10:08 +01:00
buildhistory-collect-srcrevs buildhistory-collect-srcrevs: sort directories 2020-06-17 11:10:28 +01:00
buildhistory-diff buildhistory-diff: use BUILDDIR to know where buildhistory is 2020-09-17 09:47:46 +01:00
buildstats-diff scripts/buildstats-diff: Add option to filter tasks 2019-07-17 09:36:35 +01:00
combo-layer scripts/combo-layer: Fix deprecation warning 2020-02-21 09:39:00 +00:00
combo-layer-hook-default.sh meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
combo-layer.conf.example combo-layer: partial import for '--history init' 2015-03-20 11:21:24 +00:00
cp-noerror meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
create-pull-request scripts/create-pull-request: fix putting subject containing / into cover letter 2019-07-31 13:50:46 +01:00
crosstap meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
devtool meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
gen-lockedsig-cache scripts/gen-lockedsig-cache: Only look at new format sstate objects 2020-01-06 23:54:39 +00:00
gen-site-config meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
install-buildtools scripts/install-buildtools: Update to 3.2 M3 buildtools 2020-10-20 11:11:45 +01:00
lnr meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
multilib_header_wrapper.h multilib_header_wrapper: Drop using __MHWORDSIZE 2020-05-18 06:33:36 +01:00
oe-build-perf-report oe-build-perf-report: Ensure correct data is shown for multiple branch options 2020-10-10 13:37:56 +01:00
oe-build-perf-test scripts/oe-build-perf-test: Use python3 from the environment 2019-12-15 09:10:46 +00:00
oe-buildenv-internal scripts/oe-buildenv-internal: Add pointer to scripts/install-buildtools 2020-04-01 11:44:24 +01:00
oe-check-sstate meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-debuginfod scripts/oe-debuginfod: script that fetches package manager directory 2021-03-02 20:39:35 +00:00
oe-depends-dot meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-find-native-sysroot meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-git-archive meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-git-proxy oe-git-proxy: fix dash "Bad substitution" 2019-09-16 23:02:44 +01:00
oe-gnome-terminal-phonehome meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-pkgdata-browser oe-pkgdata-browser: Select a matching package when a recipe is selected 2020-01-10 21:18:22 +00:00
oe-pkgdata-browser.glade oe-pkgdata-browser: Make the window 1200x900 by default 2020-01-10 21:18:22 +00:00
oe-pkgdata-util oe-pkgdata-util: Check if environment script is initialized 2021-02-10 23:48:55 +00:00
oe-publish-sdk oe-publish-sdk: add --keep-orig option 2020-09-08 16:43:40 +01:00
oe-pylint meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-run-native scripts: oe-run-native, fix *-native directories 2021-01-15 13:39:25 +00:00
oe-selftest oe-selftest: Implement console 'keepalive' output 2019-09-06 08:15:45 +01:00
oe-setup-builddir meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-test meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-time-dd-test.sh oe-time-dd-test.sh: provide more information from "top" 2021-04-16 09:24:48 +01:00
oe-trim-schemas meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oepydevshell-internal.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
opkg-query-helper.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
pythondeps meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
README Further cleanup of various poky references 2011-04-21 12:56:16 +01:00
recipetool meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
relocate_sdk.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
resulttool meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
rootfs_rpm-extract-postinst.awk meta/classes/rootfs_rpm.bbclass: re implement base on rpm5 2010-07-24 00:46:57 +01:00
rpm2cpio.sh rpm2cpio.sh: fix to handle newline character 2020-02-19 11:24:15 +00:00
runqemu oeqa/runqemu: Support RUNQEMU_TMPFS_DIR as a location to copy snapshot images to 2021-04-06 09:30:10 +01:00
runqemu-addptable2image meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
runqemu-export-rootfs meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
runqemu-extract-sdk runqemu-extract-sdk: fix install debugfs on rootfs 2020-04-06 16:45:11 +01:00
runqemu-gen-tapdevs meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
runqemu-ifdown meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
runqemu-ifup meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
runqemu.README scripts/runqemu.README: fix typo 2017-05-18 14:01:47 +01:00
send-error-report meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
send-pull-request meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
sstate-cache-management.sh meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
sstate-diff-machines.sh sstate-diff-machines.sh: support rpm, deb and tar package types in analysis 2021-03-10 10:30:39 +00:00
sstate-sysroot-cruft.sh meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
sysroot-relativelinks.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
task-time meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
test-reexec meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
test-remote-image meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
verify-bashisms scripts/verify-bashisms: Update checkbashisms.pl URL 2021-03-20 18:54:56 +00:00
wic wic: Add workdir argument 2021-01-13 23:13:45 +00:00
yocto-check-layer checklayer: check layer in BBLAYERS before test 2020-07-27 10:37:58 +01:00
yocto-check-layer-wrapper meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00

This directory contains Various useful scripts for working with OE builds