Browse Source

Fixup the install-time removal of Provision apk

Alessandro Astone 3 years ago
parent
commit
de08478020
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build/meta/com/google/android/update-binary

+ 1 - 1
build/meta/com/google/android/update-binary

@@ -270,7 +270,7 @@ if [ -n "$SYSTEM_EXT_BLOCK" ]; then
 fi
 fi
 
 
 if [ -e product/priv-app/SetupWizard ] ; then
 if [ -e product/priv-app/SetupWizard ] ; then
-  rm -rf /system/system_ext/priv-app/Provision
+  rm -rf "${SYSTEM_OUT}/system_ext/priv-app/Provision"
 fi
 fi
 
 
 cleanup
 cleanup