diff options
| author | Yevhen Bondarenko <evgeniy.bondarenko@sentrium.io> | 2026-05-08 20:39:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-08 20:39:28 +0200 |
| commit | dde13f56e8dcbc959191806e60e3f0b90d13a598 (patch) | |
| tree | 4912d2d91e6491242ce4abc2f205b4e84aec4307 | |
| parent | 9d828c788c5ef667bb9a3d52cdfe49962915a625 (diff) | |
| parent | c8070eb78a9c9a433dd939cedb8c5730821528ed (diff) | |
| download | live-boot-dde13f56e8dcbc959191806e60e3f0b90d13a598.tar.gz live-boot-dde13f56e8dcbc959191806e60e3f0b90d13a598.zip | |
Merge pull request #14 from vyos/T8595-add-agents-md
general: T8595: add AGENTS.md
| l--------- | .github/copilot-instructions.md | 1 | ||||
| -rw-r--r-- | AGENTS.md | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 120000 index 0000000..be77ac8 --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1 @@ +../AGENTS.md
\ No newline at end of file diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..18339c4 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,44 @@ +# AGENTS.md + +## Project purpose + +VyOS fork of Debian's `live-boot` — the initramfs/boot scripts that bring up a Debian Live system. The VyOS extensions mount the VyOS config directories during system startup (see `components/9990-vyos.sh`). Required for the entire VyOS image to boot. Ships Debian packages `live-boot`, `live-boot-doc`, `live-boot-initramfs-tools`. + +## Tech stack + +- POSIX shell + Roff manpages. +- Plain `Makefile` (no autotools). +- Debian packaging in `debian/`. + +## Build / test / run + +```sh +make # default target builds + lints scripts +make test # syntax check across backend/frontend/components scripts +dpkg-buildpackage -us -uc +``` + +`SCRIPTS = backend/*/* frontend/* components/*`. The `Makefile` enforces shell syntax via `sh -n` per script. + +## Repository layout + +- `backend/` — initramfs-tools and similar backend integration. +- `frontend/` — user-facing helpers. +- `components/` — boot-time hooks; `9990-vyos.sh` is the VyOS hook for config mount. +- `manpages/` — Roff manpages with i18n PO files under `manpages/po/`. +- `debian/` — packaging. + +## Cross-repo context + +Pre-dep of the live ISO. Consumed by `vyos/vyos-live-build` (the `live-build` fork) which is in turn consumed by `vyos/vyos-build` for ISO assembly. Listed in an internal repository. README explicitly notes the long-term goal of dropping this fork in favour of upstream Debian `live-build` plus added files in the `vyos-build` chroot. + +## Conventions + +- Default branch `current`. LTS branches `sagitta`/`circinus`/`equuleus` for backports. +- Commit / PR title format: `component: T12345: description` (Phorge task ID at https://vyos.dev) — enforced via `vyos/.github` reusables (see workflows below). +- Active workflows: `cla-check.yml`, `pr-mirror-repo-sync.yml`, `trigger-rebuild-repo-package.yml`. So this repo IS wired into the mirror pipeline (sends PRs to an internal repository) and the rebuild-dispatch chain (notifies `vyos-build-packages` to rebuild on merge). + +## Notes for future contributors + +- Long-term plan (per README): retire this fork. Don't add features here that could equally live in `vyos-build`'s chroot overlay. +- Any change touching `components/9990-vyos.sh` affects boot-time config mount on every VyOS install — coordinate with `vyos-1x` config-loading code. |
