Add rules for building guest VM base ramdisk

The guest VM ramdisk is a combination of "base ramdisk" (containing the
init process and test binaries/resources) and a "vendor ramdisk"
(containing kernel modules).

This CL adds build rules that build the base ramdisk, an LZ4-compressed
CPIO archive built using a genrule. Sources are specified as target
modules and paths within the CPIO archive are provided in the same order.
A Bash script parses the information and places all files into a common
directory before calling `mkbootfs` on that directory and compressing
the result.

Test: m virt_hostside_tests_initramfs_base
Change-Id: Id9b4f0c87c97c7167572d4196497676c6d9469ad
2 files changed
tree: 0869876150269d5cd2657169d9ba864b96f8d1c2
  1. authfs/
  2. docs/
  3. tests/
  4. .clang-format
  5. PREUPLOAD.cfg