Improve core/scripts:launch ergonomics

- Disable qemu monitor multiplexing. We don't need the monitor for most
  debugging tasks, and disabling it means we can kill the VM using Ctrl-C.

- Strip metacharacters and DOS newlines from qemu serial output.
  This makes logs easier to read in the CI, and prevents it from
  messing with terminal settings locally.

- Copy swtpm_data to a temporary directory to ensure we never override
  the build inputs (which can happen in a local run without sandbox).

  Re-running the target no longer triggers rebuilds for swtpm_data.

- Remove local tag from :launch - it works fine in the sandbox.

Test Plan:
Ran the test multiple times, no rebuilds occurred:

    bazel test core/scripts:test_boot

X-Origin-Diff: phab/D264
GitOrigin-RevId: 70d52e8a4cf24747d18fbaffeddb6e30bcdf61da
3 files changed
tree: e76d204e13a52816182f86599f22c6ce95eebeb6
  1. build/
  2. core/
  3. scripts/
  4. .bazelignore
  5. .bazelrc
  6. BUILD
  7. README.md
  8. WORKSPACE
README.md

Nexantic monorepo

This is the monorepo storing all of nexantic's internal projects and libraries.

Environment

All builds should be executed using the shipped nexantic-dev container which is automatically built by the create script.

The container contains all necessary dependencies and env configurations necessary to get started right away.

Usage

Spinning up: scripts/create_container.sh

Spinning down: scripts/destroy_container.sh

Running commands: scripts/run_in_container.sh @

Using bazel: scripts/bin/bazel @