| Summary: | Add optional command to rootfs-postprocess to remove non-determinism from rootfs | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Joshua Lock <joshuagloe> |
| Component: | core | Assignee: | Juro Bystricky <juro.bystricky> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium+ | CC: | meta.mr.watcher, meta.watcher, randy.macleod |
| Version: | 2.4 | ||
| Target Milestone: | 2.5 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Joshua Lock
2017-03-17 15:02:31 UTC
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. |