mirror of
https://github.com/raspberrypi/rpi-eeprom.git
synced 2026-01-20 21:13:36 +08:00
Merge pull request #169 from waveform80/checksums
Query checksums from rpi-eeprom instead of rpi-eeprom-images
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user