sm8250-common: build vendor ramdisk image

also use rootdir/etc/fstab.qcom for recovery
and add recovery.wipe
This commit is contained in:
SGCMarkus 2022-02-17 19:29:57 +01:00
parent 2336e05984
commit deb22a36e7
2 changed files with 16 additions and 1 deletions

12
recovery/recovery.wipe Normal file
View file

@ -0,0 +1,12 @@
# 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/product_a
/dev/block/bootdevice/by-name/product_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