guix/gnu/build
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
..
accounts.scm system: Relax subordinate ID validation. 2025-12-11 15:43:16 +01:00
activation.scm build: Make /etc/hosts a regular file again. 2025-12-22 10:46:52 +09:00
bootloader.scm
chromium-extension.scm
cross-toolchain.scm
dbus-service.scm Reapply "Update Maxim's email address." 2025-09-18 13:44:12 +09:00
file-systems.scm file-systems: Support the 'remount' mount flag. 2025-11-06 23:29:46 +01:00
hurd-boot.scm hurd-boot: change /etc/mtab to /var/run/mtab. 2025-10-12 22:22:01 +02:00
icecat-extension.scm
image.scm gnu: make-iso9660-image: Do not compress any kernel, compress man pages. 2025-12-22 23:00:40 +01:00
install.scm Reapply "Update Maxim's email address." 2025-09-18 13:44:12 +09:00
jami-service.scm Reapply "Update Maxim's email address." 2025-09-18 13:44:12 +09:00
linux-boot.scm install: Register agetty on primary console on AArch64. 2026-01-14 09:17:33 +01:00
linux-container.scm build/syscalls: Introduce new safe-clone and use it. 2025-10-29 11:34:28 +09:00
linux-initrd.scm
linux-modules.scm Revert "elf: Remove bundled Guile source." 2025-10-30 16:19:49 +09:00
locale.scm
marionette.scm Reapply "Update Maxim's email address." 2025-09-18 13:44:12 +09:00
oci-containers.scm
secret-service.scm services: secret-service: Add #:timeout to ‘secret-service-receive-secrets’. 2025-09-21 17:57:16 +02:00
shepherd.scm
svg.scm