Commit 960c4bde authored by Alistair Strachan's avatar Alistair Strachan Committed by Greg Hartman
Browse files

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
parent 8141231a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment