Remove system root when running addon.d

This commit is contained in:
topjohnwu 2018-07-20 00:37:38 +08:00
parent 153c7fdf20
commit 0ef026c610

View File

@ -47,6 +47,8 @@ detection() {
} }
installation() { installation() {
remove_system_su
[ -f $APK ] && eval $BOOTSIGNER -verify < $BOOTIMAGE && BOOTSIGNED=true [ -f $APK ] && eval $BOOTSIGNER -verify < $BOOTIMAGE && BOOTSIGNED=true
$BOOTSIGNED && ui_print "- Boot image is signed with AVB 1.0" $BOOTSIGNED && ui_print "- Boot image is signed with AVB 1.0"