Skip to content

io_archive: Use SOURCE_DATE_EPOCH for meta files instead of current time

kpcyrd requested to merge kpcyrd/apk-tools:repro into master

Using the current time would require normalization with SOURCE_DATE_EPOCH, instead of implementing that this patch simply uses 1970-01-01 for DESCRIPTION and APKINDEX.

This patch has been updated to use SOURCE_DATE_EPOCH for DESCRIPTION and APKINDEX.

I've only lightly tested this, I'm not sure how reasonable this change is.

See https://twitter.com/sn0int/status/1410280392331046917

Edited by kpcyrd

Merge request reports