updater-binary: Revert "Install to opposite slot" logic
* Currently, on both devices enforcing veirty, and devices not enforcing verity, we are unable to flash files to the system partition after a payload (a/b) style flash. Revert this logic until is/when we figure this out. * A/B users will need to flash the ROM, reboot, and install from thee recovery in the other slot.
This commit is contained in:
parent
3006026072
commit
b520864106
@ -40,9 +40,9 @@ if [ "$SYSTEMASROOT" == "true" ]; then
|
||||
CURRENTSLOT=`getprop ro.boot.slot_suffix`
|
||||
if [ ! -z "$CURRENTSLOT" ]; then
|
||||
if [ "$CURRENTSLOT" == "_a" ]; then
|
||||
TARGETSYSTEM=/dev/block/bootdevice/by-name/system_b
|
||||
else
|
||||
TARGETSYSTEM=/dev/block/bootdevice/by-name/system_a
|
||||
else
|
||||
TARGETSYSTEM=/dev/block/bootdevice/by-name/system_b
|
||||
fi
|
||||
else
|
||||
TARGETSYSTEM=/dev/block/bootdevice/by-name/system
|
||||
|
Loading…
Reference in New Issue
Block a user