Skip to content

lib: support reproducible install date

Jelle van der Waa requested to merge jelle/pacman:reproducible-install into master

When building an Arch Linux image the install date would vary when trying to reproduce it. Similar to building packages, respect SOURCE_DATE_EPOCH when installing packages.


mkosi for example already supports SOURCE_DATE_EPOCH so this would allow us to drop a custom hook to rewrite the INSTALL_DATE in pacman's local db when trying to reproduce an image.

Merge request reports