From ce29f0011023638d4ddc6df774fcb3ad807f7d6d Mon Sep 17 00:00:00 2001 From: Lourival Vieira Neto Date: Sun, 22 Nov 2026 11:23:12 -0300 Subject: [PATCH] doc: Lunatik's mount of this repository is luaebpf/ Lunatik mounts this repository at luaebpf/, beside its other mounts, in place of bin/luaebpf (luainkernel/lunatik#2598). Lunatik's own checks read Lunatik's tree, where a change of luaebpf is a move of the mount and none of its files, so none of them reads the compiler's. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 6 +++--- README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 0fd1fc9..aa82219 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -30,7 +30,7 @@ calls the kernel Lua scripts Lunatik runs. ## Build, install, test -luaebpf builds and runs inside a Lunatik checkout, which mounts it at `bin/luaebpf` (luainkernel/lunatik#2598): +luaebpf builds and runs inside a Lunatik checkout, which mounts it at `luaebpf/` (luainkernel/lunatik#2598): Lunatik's Makefile builds `lunatic`, the bytecode tables and the loader against its own `lua/` and libbpf, and installs the compiler where the CLI's Lua finds it; the program files of its tests live in Lunatik's `tests/luaebpf/`, and its examples in Lunatik's `examples/`. A change is built, installed and @@ -44,8 +44,8 @@ Lunatik's `autogen/specs.lua` through a pull request of Lunatik. ### Checks luaebpf has no checks of its own: the shared ones run from `harness/tools/checks/`, reading this tree -through `.agents/harness.conf`, and Lunatik's own, `bundled.sh` and `hardcoded.sh` among them, run on -the bump that brings a change to it. +through `.agents/harness.conf`. Lunatik's own read Lunatik's tree, where a change of luaebpf is a move +of the mount and none of its files. ## Releases diff --git a/README.md b/README.md index 13f9296..a17793d 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ sudo lunatik run --dev=eth0 runt **Experimental.** The compiler, the modules a program file's body requires and the part of Lua it compiles may change in a minor release. -luaebpf builds and runs inside Lunatik, which mounts it at `bin/luaebpf`; `lunatik bpf` compiles a +luaebpf builds and runs inside Lunatik, which mounts it at `luaebpf/`; `lunatik bpf` compiles a program file and `lunatik run --dev` attaches it. [Compiling Lua to eBPF](doc/guide/08-luaebpf.md) is the guide for the author of a program file, [Lua to eBPF by example](doc/guide/09-luaebpf-by-example.md) lists what each construct compiles to, and the [design notes](doc/design/luaebpf/README.md) say how