Script to pack files and run a command in one file

Add a script that packs files specified in the command line as
base64, and runs a specified command, all in one bash script.

This will be used to package the VMM, as well as any images it
requires, in one file, and then run it. This will be passed as
the block device to the existing rootfs, which runs /dev/vdb.

Bug: 171310818
Test: From build/aarch64, run
      ./ -c "chmod +x grep; ./grep -i kvm" /usr/bin/grep | bash
Output should be matches to kvm in and

Change-Id: I91ce46c7ffafaac18aadfb53a3fa82c74804a66e
Signed-off-by: Fuad Tabba <>
1 file changed
tree: 51a836df1c011165870a17098fd119779328e983
  1. Makefile
  2. aarch64/
  4. kvm-unit-tests/