mt8183: config: wipe boot.reason when booting via BCB

If Android requests to boot into recovery via the BCB, we will:
- wipe the BCB
- boot into recoveryOS

On the next boot, we will have:
- bcb is empty
- android.boot.reason (aprop) is still set to recovery
- boot *again* into recoveryOS

This is unwanted behavior.

Fix it by always wiping persist.sys.boot.reason when we boot into
recovery.

Fixes: 3a125ca6f9a1 ("HACK: mt8183: config: use aprop to control
bootflow")

Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
1 file changed