mirror of
https://github.com/raspberrypi/rpi-eeprom.git
synced 2026-01-21 06:13:33 +08:00
typos
This commit is contained in:
@@ -150,7 +150,7 @@ applyRecoveryUpdate()
|
|||||||
echo "BOOTFS ${BOOTFS}"
|
echo "BOOTFS ${BOOTFS}"
|
||||||
|
|
||||||
# A '.sig' file is created so that recovery.bin can check that the
|
# A '.sig' file is created so that recovery.bin can check that the
|
||||||
# EEPROM image has not been created (e.g. SD card corruption).
|
# EEPROM image has not been corrupted (e.g. SD card corruption).
|
||||||
# Format of the .sig file.
|
# Format of the .sig file.
|
||||||
# --
|
# --
|
||||||
# SHA256\n
|
# SHA256\n
|
||||||
@@ -174,12 +174,12 @@ applyRecoveryUpdate()
|
|||||||
|| die "Failed to create ${BOOTFS}/pieeprom.sig"
|
|| die "Failed to create ${BOOTFS}/pieeprom.sig"
|
||||||
|
|
||||||
# Appends the update creation timestamp on a newline in pieeprom.sig
|
# Appends the update creation timestamp on a newline in pieeprom.sig
|
||||||
# During an self-update mode the bootloader examines the update timestamp
|
# During a self-update mode the bootloader examines the update-timestamp
|
||||||
# and # will only update itself if it is newer than than the current update
|
# and will only update itself if it is newer than the current update
|
||||||
# timestamp.
|
# timestamp.
|
||||||
#
|
#
|
||||||
# The update-timestamp is indendent of the bootloader version and
|
# The update-timestamp is independent of the bootloader version and
|
||||||
# and does not have to be timestamp.
|
# does not have to be timestamp.
|
||||||
echo "ts: $(date -u +%s)" >> "${BOOTFS}/pieeprom.sig"
|
echo "ts: $(date -u +%s)" >> "${BOOTFS}/pieeprom.sig"
|
||||||
|
|
||||||
cp -f "${TMP_EEPROM_IMAGE}" "${BOOTFS}/pieeprom.upd" \
|
cp -f "${TMP_EEPROM_IMAGE}" "${BOOTFS}/pieeprom.upd" \
|
||||||
|
|||||||
Reference in New Issue
Block a user