Merge pull request #169 from waveform80/checksums

Query checksums from rpi-eeprom instead of rpi-eeprom-images
This commit is contained in:
Tim Gover
2020-06-24 21:58:27 +01:00
committed by GitHub

View File

@@ -176,7 +176,7 @@ applyRecoveryUpdate()
} }
applyUpdate() { 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'" [ "$(id -u)" = "0" ] || die "* Must be run as root - try 'sudo rpi-eeprom-update'"
@@ -185,7 +185,7 @@ applyUpdate() {
cd / cd /
if ! md5sum -c "${checksums_file}" > /dev/null 2>&1; then if ! md5sum -c "${checksums_file}" > /dev/null 2>&1; then
md5sum -c "${checksums_file}" 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
) )
fi fi