Skip to content

Initial release: bringup tools and a root serial console - #1

Merged
jetm merged 2 commits into
mainfrom
initial-release
Nov 17, 2026
Merged

jetm merged 2 commits into
mainfrom
initial-release

Conversation

@jetm

@jetm jetm commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

This adds the bringup extension: tools for bringing up a board and a root serial console, for bench boards only and not for production.

Over SSH the extension relies on the per-user key file that avocado-ext-sshd-dev reads, so the README tells you to create /var/lib/ssh/authorized_keys.d/root from the console as root, and says that location needs avocado-ext-sshd-dev 0.1.1 or newer.

Checked: the tools were checked against the 2026/next feeds of five targets, and avocado config validate on the manifest. The 2024 feed was checked only by CI on this pull request. Not checked: the stock getty path was not exercised, and nothing was booted from this tree.

I will not tag this until avocado-ext-sshd-dev 0.1.1 is published.

A freshly provisioned board has no credentials and nowhere to put a
key, so bringing it up means a console shell and a set of tools that
the minimal image does not ship.

Add an extension for bench boards that installs the bringup tools and
gives the serial console a root shell. It is not for production: the
console login is unauthenticated. The README documents the per-user
key location used to move from the console to SSH, which needs
avocado-ext-sshd-dev 0.1.1 or newer.

Signed-off-by: Javier Tia <javier@peridio.com>
Comment thread avocado.yaml Resolved
Comment thread README.md Resolved
Comment thread README.md Resolved
The on_merge hook restarts the serial getty, and avocadoctl runs every
enabled extension's on_merge on each merge, so a refresh or deploy ends
an open console session. The README did not say so.

The "no place to put a key" claim was also wrong: a runtime's var_files
seeds /var at build time, so the key can be installed before first boot
and the console is only needed for a board with no key yet.

The Notes bullet was test provenance (board, kernel, masked getty) that
goes stale; it now states only what is unverified.

Signed-off-by: Javier Tia <javier@peridio.com>
@jetm
jetm requested a review from lee-reinhardt November 17, 2026 19:03
@jetm
jetm merged commit 3d5a127 into main Nov 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants