commit | 4d109df7f04264eb17892ad0fd2928a1d2bc4542 | [log] [tgz] |
---|---|---|
author | Gao Xiang <hsiangkao@redhat.com> | Fri Oct 30 20:30:18 2020 +0800 |
committer | Gao Xiang <hsiangkao@redhat.com> | Sun Nov 01 23:44:29 2020 +0800 |
tree | 55a6f954a4ba56d4f636c6842f98616bfee39427 | |
parent | 10d529afab6e708a7aeaceb1fc0bfba6668fa9d6 [diff] |
erofs-utils: support $SOURCE_DATE_EPOCH Currently, we use -T to set a given UNIX timestamp for all files, yet reproducible builds [1] requires what is called "timestamp clamping", IOW, a timestamp must be used no later than the value of this variable. Let's support $SOURCE_DATE_EPOCH as well. [1] https://reproducible-builds.org/specs/source-date-epoch/ Link: https://lore.kernel.org/r/20201030123020.133084-2-hsiangkao@redhat.com Suggested-by: nl6720 <nl6720@gmail.com> Reviewed-by: Li Guifu <bluce.lee@aliyun.com> Signed-off-by: Gao Xiang <hsiangkao@redhat.com>