Commit e6405c7
committed
efi: Respect SOURCE_DATE_EPOCH for reproducible builds
If SOURCE_DATE_EPOCH env is set, use it for EFI metadata timestamp, else
fallback to SystemTime::now()
The BIOS component derives its timestamp from RPM build times via
so it is already deterministic
Fixes: #1075
Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>1 parent e994131 commit e6405c7
2 files changed
Lines changed: 26 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | | - | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
817 | 816 | | |
818 | 817 | | |
819 | 818 | | |
820 | | - | |
821 | | - | |
822 | 819 | | |
823 | | - | |
| 820 | + | |
824 | 821 | | |
825 | 822 | | |
826 | 823 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
0 commit comments