guix/gnu
Lilah Tascheter b25d63e198
guix: scripts: Rewrite reinstall-bootloader to use provenance data.
Looking up bootloaders by name is broken because (extlinux) bootloaders
share a name.  Also, bootloader-configuration data is significant to
bootloader installation, so it shouldn't just use the default values.
Installation can rely on the provenance service instead, which should be
present for the vast majority of systems.

* gnu/bootloader.scm (%bootloaders): Delete variable.
(lookup-bootloader-by-name, bootloader-modules): Delete procedures.
* guix/scripts/system.scm (install-bootloader-from-os,
install-bootloader-from-provenance): Add procedures.
(reinstall-bootloader): Remove procedure.
(switch-to-system-generation, process-command): Use
install-bootloader-from-provenance.

Change-Id: I5713a43ad4f9f32a129d980db06d70de16b03f27
2024-10-08 10:36:36 -04:00
..
bootloader gnu: bootloader: Add orangepi-zero2w bootloader. 2024-10-08 10:36:34 -04:00
build file-systems: Add support for exFAT. 2024-09-01 02:00:00 +02:00
home home: xdg-mime-applications: Fix file name spelling. 2024-09-29 22:21:34 +08:00
installer installer: Create ext4 file systems with ‘-O large_dir’. 2024-08-31 19:06:38 +02:00
machine Encapsulate <boot-parameters> to retain generation, system-path and epoch. 2024-10-08 10:36:35 -04:00
packages gnu: bootloader: Add orangepi-zero2w bootloader. 2024-10-08 10:36:34 -04:00
services services: Extend udev rules in joycond-service-type. 2024-10-07 01:20:22 +09:00
system gnu: system: Remove useless boot parameters. 2024-10-08 10:36:36 -04:00
tests gnu: tests: reconfigure: Remove bootloader install test. 2024-10-08 10:36:36 -04:00
artwork.scm
bootloader.scm guix: scripts: Rewrite reinstall-bootloader to use provenance data. 2024-10-08 10:36:36 -04:00
ci.scm
compression.scm compression: Enable zstd parallel compression. 2024-08-31 10:44:22 +02:00
home.scm
image.scm
installer.scm installer: Use the latest ‘iso-codes’. 2024-09-28 12:55:54 +02:00
local.mk Move <boot-parameters> record to a separate file. 2024-10-08 10:36:34 -04:00
machine.scm
packages.scm
services.scm services: cleanup: Reintroduce explicit ‘chmod’ calls. 2024-09-25 17:53:53 +02:00
system.scm gnu: system: Remove useless boot parameters. 2024-10-08 10:36:36 -04:00
tests.scm