diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-07-17 20:32:47 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-26 08:56:29 +0100 |
commit | b36753b1c9c5471ccc43735957248f2a5bb76aba (patch) | |
tree | 497da32f5395edc3f4569cabee78b6d8c0ab9e80 /meta/recipes-devtools/dosfstools | |
parent | cbf7902030ba367baaf0b8551b11c882aaefae3d (diff) | |
download | poky-b36753b1c9c5471ccc43735957248f2a5bb76aba.tar.gz |
packagefeed-stability: add class to help reduce package feed churn
When a dependency causes a recipe to effectively be rebuilt, its output
may in fact not change; but new packages (with an increased PR value, if
using the PR server) will be generated nonetheless. There's no practical
way for us to predict whether or not this is going to be the case based
solely on the inputs, but we can compare the package output and see if
that is materially different and based upon that decide to replace the
old package with the new one.
This class effectively intercepts packages as they are written out by
do_package_write_*, causing them to be written into a different
directory where we can compare them to whatever older packages might
be in the "real" package feed directory, and avoid copying the new
package to the feed if it has not materially changed. We use
build-compare to do the package comparison.
(From OE-Core rev: cc8b1a93912f830e605e6249c446b3764e550863)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dosfstools')
0 files changed, 0 insertions, 0 deletions