From 0bceae9d26b4f3cc5a558cd6c8ea9d5637dde33a Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sat, 4 Aug 2018 20:50:54 +0200 Subject: [PATCH] final A/B part --- CommonInstaller | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CommonInstaller b/CommonInstaller index f906976..509bbf5 100644 --- a/CommonInstaller +++ b/CommonInstaller @@ -210,6 +210,8 @@ mount_partitions () { mount --move /system /system_root mount -o bind /system_root/system /system fi + + [ ! -f /system/build.prop ] && error "failed to mount /system (unsupported A/B device?)" } detect_mode () {