Query checksums from rpi-eeprom instead of rpi-eeprom-images

This commit is contained in:
Dave Jones
2020-06-24 20:38:05 +01:00
parent 7cd63f9d3c
commit bd7957d353

View File

@@ -176,7 +176,7 @@ applyRecoveryUpdate()
}
applyUpdate() {
checksums_file="/var/lib/dpkg/info/rpi-eeprom-images.md5sums"
checksums_file="/var/lib/dpkg/info/rpi-eeprom.md5sums"
[ "$(id -u)" = "0" ] || die "* Must be run as root - try 'sudo rpi-eeprom-update'"
@@ -185,7 +185,7 @@ applyUpdate() {
cd /
if ! md5sum -c "${checksums_file}" > /dev/null 2>&1; then
md5sum -c "${checksums_file}"
die "rpi-eeprom-images checksums failed - try reinstalling this package"
die "rpi-eeprom checksums failed - try reinstalling this package"
fi
)
fi