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.
Implemented -e/--exclude-path option: http://lists.openembedded.org/pipermail/openembedded-core/2017-June/138038.html please, review
The implementation has been merged into poky master. Commit id: 60c3e8e254d707ac1b9d6435d7d82e0fff2c0bc4