Add optional post-process command to use strip-nondeterminism to remove sources of non-derterminism from the rootfs. This will provide an optional "hammer" to improve the determinism of the system's output whilst we continue to work on the wider problem of reproducible builds with the Yocto Project. Post-processing a rootfs with strip-nondeterminism will provide immediate benefits to users of the system performing file-based updates (i.e. we'll be better able to produce a new rootfs for processing by OSTree which only includes real changes, not just changes introduced by non-determinism).
Sent a patch to ML: https://patchwork.openembedded.org/patch/143063/
Still in review...
Merged: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b8ce7d0800dc63db2786e2761b7ac97f7b59cd06 Basically, the new code executes at the very end of do_rootfs. At present, it modifies some timestamps/mktime of some files to achieve deterministic outcome. There may be other actions required eventually, but this was enough to build deterministic rootfs for core-image-minimal.