From 3f66bf29aed5fb39bb15f02afda70fc37001db61 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sun, 15 Sep 2019 13:26:27 +0200 Subject: [PATCH] Ignore device's /product partition on SaS --- apex-setup.rc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apex-setup.rc b/apex-setup.rc index a2147e9..a3feb67 100644 --- a/apex-setup.rc +++ b/apex-setup.rc @@ -10,3 +10,8 @@ on early-fs export ANDROID_RUNTIME_ROOT /apex/com.android.runtime export ANDROID_TZDATA_ROOT /apex/com.android.tzdata symlink /system/product /product + +on fs + exec u:r:su:s0 -- /system/bin/umount -l /product + exec u:r:su:s0 -- /system/bin/rmdir /product + symlink /system/product /product