Device that use boot header version v4 supports modular ramdisks, hence we are able to flash vendor_boot:$(ramdisk_name_that's_not_default) without touching OEM specific blobs like that of fstab or kernel modules. The goal is to support all methods of stock ROM asssertion and simulate the same methods that their OEM uses for the purpose of custom rom.
For Lineage recovery
breakfast lineage_marmalade-eng
For TWRP recovery
breakfast twrp_marmalade-eng
For creating vendor_boot ramdisk for devices that use header v4
mka vendorbootimage
So, we'd be flashing the modular recovery ramdisk alone and it can be performed with the following command
fastboot flash vendor_boot:recovery recovery.cpio.gz
fastboot flash vendor_boot:recovery recovery.cpio.lz4
https://source.android.com/devices/bootloader/partitions/vendor-boot-partitions https://source.android.com/devices/bootloader/fastbootd