guix/gnu
Ludovic Courtès 47960b5526
system: Improve 'read-boot-parameters' incompatibility diagnostic.
Previously, when reading an incompatible "parameters" file, 'guix
system' would print a warning and then crash with a wrong-type-arg
backtrace because code expects 'read-boot-parameters' to always return a
<boot-parameters> record.

* gnu/system.scm (read-boot-parameters): Upon incompatibility, raise an
error instead of returning #f.  Also raise a '&fix-hint' condition.
* tests/boot-parameters.scm ("read, construction, mandatory fields"):
Define 'test-read-boot-parameters' as a macro; expect
'formatted-message?' exceptions rather than #f returns.
2022-03-16 15:48:52 +01:00
..
bootloader
build
home
installer
machine
packages gnu: cryfs: Update to 0.11.2. 2022-03-16 15:48:52 +01:00
platforms
services
system images: novena: Fix build. 2022-03-15 13:14:29 +01:00
tests
artwork.scm
bootloader.scm
ci.scm
home.scm
image.scm
installer.scm
local.mk gnu: mariadb: Fix building for powerpc-linux. 2022-03-15 22:20:15 +02:00
machine.scm
packages.scm
platform.scm
services.scm
system.scm system: Improve 'read-boot-parameters' incompatibility diagnostic. 2022-03-16 15:48:52 +01:00
tests.scm