Includes recovery resources into vendor_boot-debug.img
Commit I56dda56bab7def1540f4fb506323e3e605620cd4 adds BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT and includes $(TARGET_RECOVERY_ROOT_OUT) directory when building vendor ramdisk if BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT is set. We should do the same thing when building the vendor debug ramdisk as well. Otherwise, lacking some recovery files makes the device unable to boot into fastbootd/recovery mode. Bug: 177712689 Test: `make vendorbootimage_debug`, then unpack ./obj/PACKAGING/vendor-boot-debug_intermediates/vendor-ramdisk-debug.cpio.lz4 to check it includes recovery resources via: `lz4 -d -c ../vendor-ramdisk-debug.cpio.lz4 | cpio -idm` Test: device can boot into fastbootd after flashing vendor_boot-debug.img Change-Id: I4744c6600866436ed7d5a321e67e20b8f3da8a81
Loading
Please register or sign in to comment