Bug 11459 - buildhistory-diff needs to filter out DNF noise
Summary: buildhistory-diff needs to filter out DNF noise
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.4 M2
Assignee: Ed Bartosh
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-05-04 13:12 UTC by Ross Burton
Modified: 2017-06-26 08:46 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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