trusty: Add script to repack ramdisk

Adds a script to unpack an android ramdisk, replace modules from a
kernel build ramdisk, and repack.

Test: m dist trusty-host_package
Test: replace_ramdisk_modules --android-ramdisk=ramdisk.img --kernel-ramdisk=initramfs.img --output-ramdisk=ramdisk_new.img
Bug: 360427987
Change-Id: I7e6cf32e14395b27b4d0b25ed524fb53b30c1a11
2 files changed
tree: af22a88f518a379ebbdc7070be0a458f1e9f8f54
  1. bazel/
  2. scripts/
  3. .clang-format
  4. PREUPLOAD.cfg
  5. rustfmt.toml