generic-poky/scripts
Patrick Ohly 7d4fa58c5c yocto-compat-layer: limit report of signature changes
Typically a single change cascades through the entire task dependency
chain. Developers had to figure that out themselves, based on hard to
read and interpret output (not sorted, no indention, no explanations):

   $ yocto-compat-layer.py -n meta-xxxx
   ...
   AssertionError: True is not false : Layer meta-xxxx changed signatures.
   webkitgtk:do_install changed fe2edc9082bc0da98f9cb1391c52f565 -> b3a44684c5cd9aacd3f7c6ed88eefab5
   gstreamer1.0-plugins-good:do_configure changed 3b2f8211be3fe08422bf6087f3af16d1 -> 7d80e42fa1f4f01ff4dfe2ea4477d382
   pulseaudio:do_package_qa changed 5d0a58ada66ff17f5576555302ac319a -> 0e13bcb96143d1ae54c451bc3de0aa30
   epiphany:do_prepare_recipe_sysroot changed 29e1b277dbcb005bd54950594c50d91b -> d3c45527b37677a0668ce483c6db3052
   ...
   gst-player:do_packagedata changed 9ce6efdd357dd74919bc4957458b1e95 -> d0c083ce629f37adfc9c4ba9eff81f83
   gstreamer1.0-plugins-base:do_install changed 1161cd867d15bea63e5dd5d9abf0519c -> 5bf2b652a2d77fee3eedb35af2f201a0
   gstreamer1.0-rtsp-server:do_packagedata changed 6781dc3070f80b843ed1970d74dd323e -> 454620c2e3b9fea87e525d14b6ed0344
   alsa-plugins:do_packagedata changed 1808c3f737cb805b169d004e948ea19c -> 480124b7fa5eab1f73bf96440d725231

Now the tool automates the problem analysis: it retrieves the depgraph
using the tinfoil API and only reports those tasks with modified
signatures whose dependencies have not changed, i.e. those tasks which
definitely introduce a change.

>From the previous example, that just leaves two tasks that need to be
checked:

   AssertionError: False is not true : Layer meta-xxxx changed 120 signatures, initial differences (first hash without, second with layer):
      gstreamer1.0-plugins-base:do_fetch: 76973f19f2e30d282152bdd7e4efe5bb -> e6e7c6fa9f2bd59d7d8d107f7c6ca1ac
      pulseaudio:do_install: 668eb1e30af129df9806b0aa0d7c10cd -> 1196bdb88eef56eeee4613bb06b9387e

This pruning might be a bit too aggressive in the sense that tasks
which inherit a change and then add more changes themselves won't be
reported initially. They will be found when fixing the reported tasks
and re-running the check.

For a developer it seems better to have something listed which
definitely is a problem and needs fixing instead of everything,
including the tasks which don't need fixes.

(From OE-Core rev: 7ab0e09de75bfd7e7498bfa72d1f2f5d02a96747)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-10 23:00:42 +01:00
..
contrib oe-build-perf-report-email.py: fix one file path 2017-04-10 23:00:42 +01:00
lib yocto-compat-layer: limit report of signature changes 2017-04-10 23:00:42 +01:00
native-intercept native.bbclass: Add a simple chown intercept command 2011-06-23 21:08:01 +01:00
postinst-intercepts update_gio_module_cache: Do not chown a non-existing file 2017-04-05 23:22:12 +01:00
pybootchartgui pybootchartgui: support reading reduced /proc logs 2016-12-07 10:38:00 +00:00
tiny scripts: python3 fixes and new tool ksum 2017-01-16 18:05:14 +00:00
README Further cleanup of various poky references 2011-04-21 12:56:16 +01:00
bitbake-prserv-tool bitbake-prserv-tool: check file name 2015-11-25 07:50:30 +00:00
bitbake-whatchanged scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
buildhistory-collect-srcrevs buildhistory-collect-srcrevs: Fix multiple SRCREV definitions 2016-10-28 16:15:17 +01:00
buildhistory-diff buildhistory-diff: suggest correct version of PythonGit 2016-06-12 23:47:17 +01:00
buildstats-diff scripts/buildstats-diff: fix epoch numbers in --ver-diff 2017-02-23 12:49:48 -08:00
cleanup-workdir scripts/cleanup-workdir: Adapt to SDK_ARCH -> SDK_SYS chanages for crosssdk 2016-09-28 10:16:03 +01:00
combo-layer combo-layer: handle file_exclude matching dirs 2016-10-28 16:15:21 +01:00
combo-layer-hook-default.sh combo-layer-hook-default.sh: handle patches without Signed-off-by 2015-03-20 11:21:25 +00:00
combo-layer.conf.example combo-layer: partial import for '--history init' 2015-03-20 11:21:24 +00:00
cp-noerror scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
create-pull-request create-pull-request: fix for OE cgit URL change 2017-01-23 12:05:22 +00:00
crosstap crosstap: Changes to support Recipe specific sysroot 2017-03-08 11:52:56 +00:00
devtool devtool: check locale and refuse to start if it isn't UTF-8 2017-01-23 12:05:22 +00:00
gen-lockedsig-cache gen-lockedsig-cache: catch os.link error 2017-03-22 11:35:21 +00:00
gen-site-config siteconfig: generate configuration data caches for autoconf 2010-09-03 10:50:02 +01:00
lnr scripts/lnr: update for python3 2016-06-01 12:47:10 +01:00
multilib_header_wrapper.h multilib_header: Update wrapper to handle arm 32/64 bit 2017-03-31 10:10:29 +01:00
oe-build-perf-report scripts/oe-build-perf-report: fix typo 2017-04-05 23:22:13 +01:00
oe-build-perf-test oe-build-perf-test: pack all buildstat in one file 2017-03-27 08:15:06 +01:00
oe-buildenv-internal oe-buildenv-internal: show usage output 2016-12-13 22:55:21 +00:00
oe-check-sstate devtool/recipetool/meta: Adapt to bitbake API changes for multi-configuration builds 2016-08-18 10:07:23 +01:00
oe-find-native-sysroot scripts: change way we find native tools (pseudo) 2017-04-05 23:22:12 +01:00
oe-git-archive scripts/oe-git-archive: implement --notes 2017-03-27 08:15:06 +01:00
oe-git-proxy oe-git-proxy: create usage output 2016-12-13 22:55:21 +00:00
oe-gnome-terminal-phonehome terminal: Fix gnome-terminal to work with recent versions 2016-07-08 10:50:18 +01:00
oe-pkgdata-util scripts: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
oe-publish-sdk oe-publish-sdk: add pyshtables.py to .gitignore 2017-01-31 14:43:00 +00:00
oe-run-native oe-run-native: OLDPATH -> OLD_PATH 2017-04-01 08:14:58 +01:00
oe-selftest selftest: automatically add the meta-selftest layer 2017-01-23 12:05:22 +00:00
oe-setup-builddir oe-setup-builddir: create usage output 2016-12-13 22:55:20 +00:00
oe-setup-rpmrepo scripts/oe-setup-rpmrepo: replace createrepo with createrepo_c 2017-03-14 14:42:17 +00:00
oe-test testexport.bbclass: Migrate testexport to use new framework 2017-01-23 12:05:21 +00:00
oe-trim-schemas oe-trim-schemas: create usage output 2016-12-13 22:55:20 +00:00
oepydevshell-internal.py oepydevshell-internal.py: standardize usage output 2016-12-13 22:55:21 +00:00
opkg-query-helper.py scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
pythondeps scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
recipetool scripts: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
relocate_sdk.py relocate_sdk.py: skip debug files from relocation 2017-03-08 11:52:57 +00: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 scripts/rpm2cpio.sh: replace 5.x version with 4.x version 2017-03-14 14:42:17 +00:00
runqemu runqemu: use realpath for imgdir 2017-04-10 23:00:42 +01:00
runqemu-addptable2image scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
runqemu-export-rootfs runqemu: support multiple qemus running when nfs 2017-01-23 12:05:22 +00:00
runqemu-extract-sdk runqemu-extract-sdk: normalize paths to improve output 2014-07-03 17:41:16 +01:00
runqemu-gen-tapdevs runqemu-gen-tapdevs: fix file path in example 2017-03-24 23:43:32 +00:00
runqemu-ifdown runqemu-ifdown: clean up the remaining iptables rules 2013-08-30 16:23:47 +01:00
runqemu-ifup runqemu-ifup: Check if the tap interface is set up correctly 2015-10-27 07:24:28 +00:00
runqemu.README scripts/runqemu.README: Clean this up to accurately reflect what the runqemu command now does 2011-04-21 12:56:13 +01:00
send-error-report send-error-report: encode data to bytes 2016-06-03 13:13:30 +01:00
send-pull-request scripts/send-pull-request: Avoid multiple chain headers 2016-12-07 10:37:59 +00:00
sstate-cache-management.sh scripts/sstate-cache-management.sh: Change wording 2016-02-15 16:28:43 +00:00
sstate-diff-machines.sh sstate-diff-machines.sh: Return non-zero return code when there was some failure detected 2014-06-29 09:04:22 +01:00
sstate-sysroot-cruft.sh sstate-sysroot-cruft: Add /etc/ld.so.conf to whitelist 2016-10-28 16:15:19 +01:00
sysroot-relativelinks.py sysroot-relativelinks: also consider links to dirs on the host 2017-03-29 16:37:27 +01:00
task-time task-time: Add simple buildstats analysis script 2016-11-06 23:35:36 +00:00
test-dependencies.sh test-dependencies.sh: Strip also '\.bb: .*' before adding failed recipe to list of failed 2016-10-28 16:15:19 +01:00
test-reexec test-reexec: Add script to address issues when task re-execution 2012-05-18 15:25:11 +01:00
test-remote-image scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
verify-bashisms verify-bashisms: support warnings with more than one line of source code 2017-01-31 15:28:41 +00:00
wic scripts/wic: fix typo 2017-03-27 08:15:07 +01:00
yocto-bsp yocto-bsp: Refactor script to use argparse instead of optparse 2016-07-07 13:38:13 +01:00
yocto-compat-layer-wrapper scripts: Add yocto-compat-layer-wrapper 2017-04-05 23:22:12 +01:00
yocto-compat-layer.py yocto-compat-layer.py: Fix the signature validation 2017-04-05 23:22:13 +01:00
yocto-kernel scripts: Fixed typo in parameter that was causing exception 2016-07-07 13:38:13 +01:00
yocto-layer scripts: Fixed typo in parameter that was causing exception 2016-07-07 13:38:13 +01:00

README

This directory contains Various useful scripts for working with OE builds