guix/gnu
Rutherther ab22501915
install: Register agetty on primary console on AArch64.
This adds the possibility to parse /proc/consoles to find a primary console.
Then, on AArch64 this is used in the installation image. On AArch64, the boot
usually happens with chosen device tree that contains the serial console.
On x86_64, this does not happen so often, so we keep the installation iso
minimal there.

The primary console is chosen, but there is a fallback to any non-virtual one.
Virtual console (/dev/tty0) is skipped, because that one can point to any
console, like /dev/tty1 and so on. So it's not safe to register agetty on it.

* gnu/build/linux-boot.scm (read-linux-consoles): New variable.
* gnu/services/base.scm (default-serial-console): Use primary console as
fallback.
* gnu/system/install.scm (%installation-services): Add agetty tty for
consoles.

Change-Id: Iae01f7bc85b5ffdef2e52b1d0710889915b0f54a
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-14 09:17:33 +01:00
..
bootloader
build install: Register agetty on primary console on AArch64. 2026-01-14 09:17:33 +01:00
home Update Giacomo's email address. 2025-12-03 14:38:09 +09:00
installer installer: network: Check response code to assess substitute availability. 2026-01-14 09:16:50 +01:00
machine
packages gnu: sudo: Add libxcrypt dependency on the Hurd. 2026-01-14 09:16:48 +01:00
services install: Register agetty on primary console on AArch64. 2026-01-14 09:17:33 +01:00
system install: Register agetty on primary console on AArch64. 2026-01-14 09:17:33 +01:00
tests services: nscd: Cause PID 1 to drop nscd database mappings on shutdown. 2025-12-19 00:05:43 +01:00
artwork.scm
bootloader.scm
ci.scm
compression.scm
home.scm
image.scm
installer.scm installer: Drop uri from provenance log. 2025-12-22 23:00:46 +01:00
local.mk gnu: freerdp: Update to 3.20.0. 2026-01-14 09:16:44 +01:00
machine.scm
packages.scm
services.scm
system.scm system: operating-system-etc-service: Unset GUIX_PROFILE. 2026-01-04 12:46:57 +01:00
tests.scm