Skip to content

[ISSUE] Run a Precompiled AArch64 Linux bash Binary on Milo #263

Done

Description

@marcobuschini

Builds on #235 (AArch64 Linux distro ABI support).

Goal

Package and run an unmodified precompiled AArch64 Linux bash binary (extracted from an arm64 Debian/Ubuntu/Alpine package—either dynamic with /lib/ld-linux-aarch64.so.1 + libc.so.6/libtinfo.so.6 or bash-static) in EL0 on milo, both interactively (milo> bash) and non-interactively (bash -c ..., pipelines, /bin/test_milo).

Scope

  1. Packaging & Build Target (Makefile, initrds/):
    • Add a repeatable target/script to extract a precompiled arm64 Linux bash binary (and its runtime shared libraries/symlinks if dynamically linked) into an initrd image alongside /bin/test_milo.
  2. QEMU Bring-Up & ABI Gap Resolution:
    • Boot milo in QEMU with the precompiled bash initrd and launch bash.
    • Inspect logs --json / trap diagnostics for any unhandled syscalls, ioctls, fcntl flags, prlimit64/getrlimit, /proc/self/* or /dev/tty expectations, or job-control/signal handling (setpgid, getpgrp, tcgetpgrp/tcsetpgrp, wait4, rt_sigaction).
    • Implement any missing kernel/VFS/ABI support cleanly.
  3. Verification:
    • Verify interactive prompt (milo> bash), pipelines/subshells/redirections, and executing /bin/test_milo from inside precompiled bash.
    • Add regression tests for any newly uncovered ABI paths.

Acceptance Criteria

  • Precompiled arm64 Linux bash launches via milo> bash in QEMU and reaches an interactive prompt without crashing.
  • Subshells, pipes, environment variables, and /bin/test_milo succeed from inside precompiled bash (exit 0).
  • make format && make clean-tests && make -j"$(nproc)" all && make -j"$(nproc)" quality passes with zero warnings.

Activity

  1. added
    enhancement
    on Dec 3, 2026
  2. moved this from Backlog to Todo in kernelite/miloon Dec 3, 2026
  3. moved this from Todo to Backlog in kernelite/miloon Dec 3, 2026
  4. self-assigned this
    on Dec 3, 2026
  5. moved this from Todo to Backlog in kernelite/miloon Dec 3, 2026
  6. moved this from Backlog to Todo in kernelite/miloon Dec 4, 2026
  7. moved this from Todo to In progress in kernelite/miloon Dec 4, 2026
  8. added a commit that references this issue on Dec 4, 2026
    5dc4354
  9. moved this from In progress to In review in kernelite/miloon Dec 4, 2026
  10. moved this from In review to Done in kernelite/miloon Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions