mirror of
https://github.com/Evolution-X-Devices/device_google_taimen
synced 2026-01-27 15:59:12 +00:00
Add recovery.wipe file.
Bug: 36427762
Test: lunch muskie-userdebug && make bootimage. Check
$OUT/recovery/root/etc/recovery.wipe exists.
Change-Id: Id86c53d62d2b5a293f22b37fef3c64caa82f15f1
This commit is contained in:
@@ -88,6 +88,9 @@ BOARD_LISA_TARGET_SCRIPTS := device/google/wahoo/lisa/
|
||||
# rounded_corner_radius in overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml.
|
||||
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 105
|
||||
|
||||
# Partitions (listed in the file) to be wiped under recovery.
|
||||
TARGET_RECOVERY_WIPE := device/google/taimen/recovery.wipe
|
||||
|
||||
TARGET_RECOVERY_UI_LIB := \
|
||||
librecovery_ui_taimen \
|
||||
libfstab
|
||||
|
||||
10
recovery.wipe
Normal file
10
recovery.wipe
Normal file
@@ -0,0 +1,10 @@
|
||||
# All the partitions to be wiped (in order) under recovery.
|
||||
/dev/block/bootdevice/by-name/system_a
|
||||
/dev/block/bootdevice/by-name/system_b
|
||||
/dev/block/bootdevice/by-name/vendor_a
|
||||
/dev/block/bootdevice/by-name/vendor_b
|
||||
/dev/block/bootdevice/by-name/userdata
|
||||
# Wipe the boot partitions last so that all partitions will be wiped
|
||||
# correctly even if the wiping process gets interrupted by a force boot.
|
||||
/dev/block/bootdevice/by-name/boot_a
|
||||
/dev/block/bootdevice/by-name/boot_b
|
||||
Reference in New Issue
Block a user