From 79c2ab4f60eae64d896fcf02ba2fb7121f92def5 Mon Sep 17 00:00:00 2001 From: osm0sis Date: Fri, 14 Jul 2017 13:16:12 -0300 Subject: [PATCH] AK2: fix AVB signing --- tools/ak2-core.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ak2-core.sh b/tools/ak2-core.sh index 8cc609c..06e4898 100755 --- a/tools/ak2-core.sh +++ b/tools/ak2-core.sh @@ -201,7 +201,7 @@ write_boot() { unset LD_LIBRARY_PATH; pk8=`ls $bin/avb/*.pk8`; cert=`ls $bin/avb/*.x509.*`; - /system/bin/dalvikvm -Xbootclasspath:/system/framework/core-oj.jar:/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/bouncycastle.jar -Xnodex2oat -Xnoimage-dex2oat -cp BootSignature_Android.jar com.android.verity.BootSignature /boot boot-new.img $pk8 $cert boot-new-signed.img; + /system/bin/dalvikvm -Xbootclasspath:/system/framework/core-oj.jar:/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/bouncycastle.jar -Xnodex2oat -Xnoimage-dex2oat -cp $bin/BootSignature_Android.jar com.android.verity.BootSignature /boot boot-new.img $pk8 $cert boot-new-signed.img; if [ $? != 0 ]; then ui_print " "; ui_print "Signing image failed. Aborting..."; exit 1; fi;