StarlingX build source tree root
Go to file
Scott Little f6cbdb5af0 Use md5sums of inputs to determine if a package needs a rebuild
During the build-srpm phase of build-pkgs
- for each package
  - determine the unique sorted list of all input files
  - calculate md5 sums of all input files and save to file
     $MY_WORKSPACE/std/rpmbuild/SOURCES/<pkg-name>/srpm_input.md5
  - Compare vs reference md5sums of previous builds
     $MY_WORKSPACE/std/rpmbuild/SOURCES/<pkg-name>/srpm_reference.md5
  - If different, rebuild package
  - If build successful, cp srpm_input.md5 -> srpm_reference.md5

Build-rpms still uses timestamps, but we will switch from
'find --newer' to 'find -newermm' to identify updates files
which is compatable with how rsync sets the timestamps in the
next build-avoidance update.

Finally bring build-rpms-serial up to date, relative to
build-rpms-parallel, with respect to spec cache, signal handling,
process cleanup, and mock environment cleanup.  The remaining
delta between the two should reflect just the differences for
parallel building.

Story: 2002835
Task: 22754
Change-Id: I19c5594c84f026861e913a3af8af7dd0dc676ced
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-08-31 17:02:00 -04:00
build-data StarlingX open source release updates 2018-06-01 07:45:23 -07:00
build-tools Use md5sums of inputs to determine if a package needs a rebuild 2018-08-31 17:02:00 -04:00
stx Remove empty repo stx-utils 2018-08-03 14:14:41 -04:00
.gitignore Remove empty repo stx-utils 2018-08-03 14:14:41 -04:00
.gitreview Add .gitreview 2018-06-01 07:45:23 -07:00
.zuul.yaml Remove non-voting gate job 2018-06-29 14:33:19 -05:00
LICENSE StarlingX open source release updates 2018-06-01 07:45:23 -07:00
test-requirements.txt Update tests to new default 2018-06-08 20:09:47 -05:00
tox.ini Update tests to new default 2018-06-08 20:09:47 -05:00