Repository navigation
Initial release: bringup tools and a root serial console - #1
Merged
Merged
Conversation
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>
This was referenced Nov 17, 2026
lee-reinhardt
approved these changes
Nov 17, 2026
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>
lee-reinhardt
approved these changes
Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 validateon 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.