From 61e01f248eb22ea9a4cffa862218f47970f3ab2c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 9 Feb 2019 14:34:12 +0100 Subject: [PATCH] base-files: do not strip fwtool signature data during check Same reason as in commit 9808bd279927bcd2d3a78d19a55229b93bbbcf05 - sysupgrade --test must not alter the image in any way Signed-off-by: Felix Fietkau --- package/base-files/files/lib/upgrade/fwtool.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/lib/upgrade/fwtool.sh b/package/base-files/files/lib/upgrade/fwtool.sh index 3f28fccd90..6d7300bad6 100644 --- a/package/base-files/files/lib/upgrade/fwtool.sh +++ b/package/base-files/files/lib/upgrade/fwtool.sh @@ -9,7 +9,7 @@ fwtool_check_signature() { fi } - if ! fwtool -q -t -s /tmp/sysupgrade.ucert "$1"; then + if ! fwtool -q -s /tmp/sysupgrade.ucert "$1"; then echo "Image signature not found" [ "$REQUIRE_IMAGE_SIGNATURE" = 1 -a "$FORCE" != 1 ] && { echo "Use sysupgrade -F to override this check when downgrading or flashing to vendor firmware" -- 2.30.2