Files
aya-mirror/AGENTS.md
Tamir Duberstein 5f046899b5 xtask: teach integration-test vm to consume kernel debs directly
Bundle handling of Debian kernel archives into xtask so callers can pipe
the raw `.deb` paths straight into `cargo xtask integration-test vm …`.
The driver now extracts each archive into `<cache>/kernel-archives`,
locates the matching `vmlinuz-*`, `lib/modules/*`, and config files, and
feeds those into the initramfs build without requiring the user to
pre-run dpkg/tar. With this in place we drop
`.github/scripts/find_kernels.py`, simplify AGENTS.md/CI instructions to
use `find test/.tmp -name '*.deb'`, remove the gnu-tar requirement we no
longer need, and add `tar` as a workspace dependency for the extractor.
2025-10-08 08:59:03 -07:00

842 B

AGENTS NOTES

  • Repository: aya (Rust library and tooling for working with eBPF programs).

  • Development tooling:

    • Do not regenerate public API fixtures; the user handles that.
    • Many crates only build on Linux; on macOS lint and type check using
    ./clippy.sh --target x86_64-unknown-linux-musl
    
  • Coding guidelines:

    • Use github or bootlin permalinks when referencing kernel sources.
  • Integration testing:

    • Prepare:

      .github/scripts/download_kernel_images.sh \
        test/.tmp/debian-kernels/<arch> <arch> [VERSIONS]...
      
    • Run:

      find test/.tmp -name '*.deb' -print0 | xargs -0 -t sh -c \
        'cargo xtask integration-test vm --cache-dir test/.tmp "$@" -- <test-filter> [ARGS]...' _