mkosi: Stop using git commit timestamps for package releases
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 26 Aug 2024 11:08:25 +0000 (13:08 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 10 Sep 2024 12:56:05 +0000 (14:56 +0200)
commitf193dbac8b0c72053838e90ac5f232c15d11345f
treed83d09cdc9fa79f38cfd05f5af51a0fff50eb6fe
parent31ce8677e9e11bcb17a3bdf9ab618e86d7e7dcec
mkosi: Stop using git commit timestamps for package releases

This prevents bisecting to figure out which commit broke something
as when going backwards the git commit timestamp will be older meaning
package managers will refuse to upgrade to the "older" version. Let's
make sure the release is always newer by using the current date unless
$SOURCE_DATE_EPOCH is set.

(cherry picked from commit caf5eb586afa1a71ed04a3442585536930b150c2)
mkosi.images/build/mkosi.conf.d/arch/mkosi.build.chroot
mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.build.chroot
mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.build.chroot
mkosi.images/build/mkosi.conf.d/opensuse/mkosi.build.chroot