guix/gnu/services
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
..
admin.scm Update Giacomo's email address. 2025-12-03 14:38:09 +09:00
audio.scm
auditd.scm
authentication.scm
avahi.scm
backup.scm Update Giacomo's email address. 2025-12-03 14:38:09 +09:00
base.scm install: Register agetty on primary console on AArch64. 2026-01-14 09:17:33 +01:00
certbot.scm
cgit.scm
ci.scm services: forgejo-runner: Add ‘log-file’ option. 2025-10-24 16:42:53 +02:00
configuration.scm
containers.scm services: oci: Fix oci-image value field handling. 2025-12-11 15:31:09 +01:00
cuirass.scm services: cuirass: Start ‘cuirass register’ eagerly. 2025-10-16 15:14:36 +02:00
cups.scm
databases.scm services: Modernize redis service. 2025-12-22 15:42:39 +01:00
dbus.scm
desktop.scm services: xfce: Allow empty passwords in screenlocker. 2025-12-20 13:37:09 +01:00
dict.scm
dns.scm services: unbound: Remove dns from provision. 2025-10-23 19:35:07 +02:00
docker.scm Update Giacomo's email address. 2025-12-03 14:38:09 +09:00
file-sharing.scm
games.scm
ganeti.scm
getmail.scm services: getmail: Correct deprecated package. 2025-10-25 12:23:23 +02:00
guix.scm services: shared-cache: Require user-file-systems. 2025-12-20 13:37:12 +01:00
herd.scm services: herd: Remove ‘load-services/safe’. 2025-10-24 16:42:53 +02:00
high-availability.scm
hurd.scm
kerberos.scm
ldap.scm
lightdm.scm
linux.scm
lirc.scm
mail.scm services: opensmtd: Add back option to log to syslog. 2025-11-09 22:12:02 +01:00
mcron.scm
messaging.scm gnu: services: Add mollysocket service. 2025-11-12 12:20:22 +02:00
monitoring.scm
networking.scm gnu: ipfs-configuration: Update deprecated default value. 2025-12-17 15:48:26 +01:00
nfs.scm gnu: Add autofs-service-type. 2025-11-16 10:21:52 -08:00
nix.scm
pam-mount.scm
pm.scm
power.scm
rsync.scm
samba.scm
science.scm
sddm.scm
security-token.scm
security.scm
shepherd.scm
sound.scm
spice.scm
ssh.scm gnu: Remove lsh-service-type. 2025-11-21 14:35:35 +01:00
syncthing.scm
sysctl.scm
telephony.scm
upnp.scm
version-control.scm services: gitile: Add git-owner-validation? configuration. 2025-11-02 14:48:38 +01:00
virtualization.scm services: hurd-vm: Support persistent images again. 2025-12-03 17:56:15 +01:00
vnc.scm
vpn.scm
web.scm gnu: Fix patchwork service test. 2025-11-10 10:27:36 +00:00
xorg.scm services: xorg: Return only supported packages in %default-xorg-modules. 2025-12-22 23:00:41 +01:00