mirror of
https://github.com/raspberrypi/rpi-eeprom.git
synced 2026-01-20 21:13:36 +08:00
make-release: Use rpi-eeprom-digest to generate update timestamps
Previously, the .sig would have an update timestamp of zero. Switching to rpi-eeprom-digest is preferable because the update timestamp will be much closer to when the image was installed. N.B. Update-timestamp is used to track configuration changes and is independent of the build-timestamps which are the version of the bootloader executable.
This commit is contained in:
committed by
Serge Schneider
parent
2f5538bc4e
commit
50451ca6ad
@@ -38,7 +38,7 @@ gen_release() {
|
|||||||
"${script_dir}/../rpi-eeprom-config" \
|
"${script_dir}/../rpi-eeprom-config" \
|
||||||
--config "${config}" --out pieeprom.bin \
|
--config "${config}" --out pieeprom.bin \
|
||||||
"${firmware_dir}/pieeprom-${pieeprom_version}.bin" || die "Failed to create updated EEPROM config with \"${config}\""
|
"${firmware_dir}/pieeprom-${pieeprom_version}.bin" || die "Failed to create updated EEPROM config with \"${config}\""
|
||||||
sha256sum pieeprom.bin | awk '{print $1}' > pieeprom.sig
|
${script_dir}/../rpi-eeprom-digest -i pieeprom.bin -o pieeprom.sig
|
||||||
echo "Creating ${out}"
|
echo "Creating ${out}"
|
||||||
zip "${out}" *
|
zip "${out}" *
|
||||||
cleanup
|
cleanup
|
||||||
|
|||||||
Reference in New Issue
Block a user