Bug 11459

Summary: buildhistory-diff needs to filter out DNF noise
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: Scripts and ToolsAssignee: Ed Bartosh <eduard.bartosh>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: ross.burton
Version: 2.3   
Target Milestone: 2.4 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2017-05-04 13:12:29 UTC
If you use buildhistory-diff on an image built using RPM the output is largely noise thanks to DNF using non-predictable names for files:

  /var/lib/dnf/yumdb/s/a457dcb17368bad5191312edadabb29d912ebd2e-systemd-compat-units-1.0-r29-corei7_64/from_repo was removed
  /var/lib/dnf/yumdb/s/777bea8f2222f4415088001aca9a5c16e22deb3f-systemd-compat-units-1.0-r29-corei7_64/from_repo was added

Thanks, DNF.

buildhistory-diff needs a blacklist of directories which should be filtered out of image comparisons, and /var/lib/dnf/yumdb added to it.
Comment 1 Ed Bartosh 2017-06-13 13:15:24 UTC
Implemented -e/--exclude-path option: http://lists.openembedded.org/pipermail/openembedded-core/2017-June/138038.html

please, review
Comment 2 Ed Bartosh 2017-06-26 08:46:21 UTC
The implementation has been merged into poky master. Commit id: 60c3e8e254d707ac1b9d6435d7d82e0fff2c0bc4