Message ID | 1541762832-10250-1-git-send-email-ynezz@true.cz |
---|---|
State | Accepted |
Delegated to: | John Crispin |
Headers | show |
Series | [OpenWrt-Devel] base-files: fwtool: Fix wrong checksum on combined-image with metadata | expand |
diff --git a/package/base-files/files/lib/upgrade/fwtool.sh b/package/base-files/files/lib/upgrade/fwtool.sh index 3f28fcc..e0e5c96 100644 --- a/package/base-files/files/lib/upgrade/fwtool.sh +++ b/package/base-files/files/lib/upgrade/fwtool.sh @@ -28,7 +28,7 @@ fwtool_check_image() { . /usr/share/libubox/jshn.sh - if ! fwtool -q -i /tmp/sysupgrade.meta "$1"; then + if ! fwtool -q -t -i /tmp/sysupgrade.meta "$1"; then echo "Image metadata not found" [ "$REQUIRE_IMAGE_METADATA" = 1 -a "$FORCE" != 1 ] && { echo "Use sysupgrade -F to override this check when downgrading or flashing to vendor firmware"