Handle system-as-root build kinds.
When building system-as-root, there may be no ramdisk, or a ramdisk that is created by the 'dist' phase and not injected into the boot.img file. If the ramdisk.img file is not present or is zero bytes in size, consider this to be a system-as-root build and switch from passing QEMU the initrd parameter to specifying "root= init=" on the kernel command line. Bug: 110097226 Change-Id: I380505a132aa32bd99475993ace996e3d56552aa
Loading
Please sign in to comment