Skip to content
Permalink
Browse files

base-files: do not strip fwtool signature data during check

Same reason as in commit 9808bd2 -
sysupgrade --test must not alter the image in any way

Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information...
nbd168 committed Feb 9, 2019
1 parent 7ebbbda commit 61e01f248eb22ea9a4cffa862218f47970f3ab2c
Showing with 1 addition and 1 deletion.
  1. +1 −1 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"

0 comments on commit 61e01f2

Please sign in to comment.
You can’t perform that action at this time.