HomeFreeBSD

nanobsd: Fix cust_comconsole search patterns

Description

nanobsd: Fix cust_comconsole search patterns

The current patterns are outdated, and may produce "offifexists", after
e310437971b8 ("For video consoles, only launch a getty if the device
exists.").

Fix the expressions to:

  1. Disable getty(8) on the virtual syscons(4) or vt(4) terminals (/dev/ttyv*).
  2. Enable the use of the first serial port as the system console.

Reviewed by: imp
Approved by: emaste (mentor)
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D47586

(cherry picked from commit 0f7b0db5dd07e7c48285db4cac19e15fc9a42622)

Details

Provenance
jlduranAuthored on Nov 15 2024, 4:28 AM
Reviewer
imp
Differential Revision
D47586: nanobsd: Fix cust_comconsole search patterns
Parents
rGa7e4493778b0: nanobsd: Use the real path for NANO_PACKAGE_DIR
Branches
Unknown
Tags
Unknown