summaryrefslogtreecommitdiffstats
path: root/classes/image_types_ota.bbclass
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2019-01-29 17:02:31 +0100
committerPatrick Vacek <patrickvacek@gmail.com>2019-02-15 12:23:41 +0100
commit8dc2b9f36aac199449a051e3f002ed49a987c9e8 (patch)
treeadc8fca33dfe5f3da6a84b79fc3499256f6588f7 /classes/image_types_ota.bbclass
parent29cec22cf93b435d4b7c0aa0c9fcac4633908e9e (diff)
downloadmeta-updater-8dc2b9f36aac199449a051e3f002ed49a987c9e8.tar.gz
sota.conf: use reproducible builds by default
Use reproducible builds by default. OSTree sets mtime to 0 at commit time anyway. This makes sure that all mtime timestamps are 0 already at build time. This is relevant for programs which relies on mtime of deployed artifacts at runtime. Python for instance writes the mtime of the source file into bytecode files (pyc) at build time. When OSTree then clears the mtime Python considers all bytecode files as stale. Reproducible binaries also avoid unnecessary differences between two OSTree commits. E.g. if the sstate cache is cleared between two OSTree commits OpenEmbedded might create slightly different binaries. Note however that not all all recipe generate reproducible binaries at this time. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'classes/image_types_ota.bbclass')
0 files changed, 0 insertions, 0 deletions