We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c873eec commit c6b8de4Copy full SHA for c6b8de4
rpi-eeprom-digest
@@ -92,7 +92,11 @@ writeSig() {
92
sha256sum "${IMAGE}" | awk '{print $1}' > "${OUTPUT}"
93
94
# Include the update-timestamp
95
- echo "ts: $(date -u +%s)" >> "${OUTPUT}"
+ if [ -n "${SOURCE_DATE_EPOCH}" ] ; then
96
+ echo "ts: ${SOURCE_DATE_EPOCH}" >> "${OUTPUT}"
97
+ else
98
+ echo "ts: $(date -u +%s)" >> "${OUTPUT}"
99
+ fi
100
101
if [ -n "${KEY}" ]; then
102
[ -f "${KEY}" ] || die "RSA private \"${KEY}\" not found"
0 commit comments