Update img-verifier usage 81/244781/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.115546 accepted/tizen/6.0/unified/hotfix/20201103.004117 accepted/tizen/unified/20200928.072838 submit/tizen/20200925.063159 submit/tizen_6.0/20201029.205104 submit/tizen_6.0_hotfix/20201102.192504 submit/tizen_6.0_hotfix/20201103.114804 tizen_6.0.m2_release
authorKichan Kwon <k_c.kwon@samsung.com>
Thu, 24 Sep 2020 07:03:38 +0000 (16:03 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Thu, 24 Sep 2020 07:03:38 +0000 (16:03 +0900)
Change-Id: If7b797852ad8bffeed1fa6927784079ae6b7165f
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
scripts/fota-init.sh

index 12670b4..150c74d 100755 (executable)
@@ -157,7 +157,7 @@ do_fota_update() {
 
        VERIFY_TOOL=/usr/sbin/img-verifier
        if [ -e ${VERIFY_TOOL} ]; then
-               ${VERIFY_TOOL} ${DELTA}
+               ${VERIFY_TOOL} -i ${DELTA} -l "/opt/var/log/last_iv.log"
                if [ $? -ne 0 ]; then
                        echo "signature verification failed!" >> ${INT_LOG_FILE}
                        return 1