3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00
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 initrd: Honor rootfstype and rootflags command-line parameters. 2022-03-01 10:30:18 -05:00
home home: symlink-manager: Rename "path" to "file" where appropriate. 2022-03-10 11:43:15 +01:00
installer initrd: Use non-hyphenated kernel command-line parameter names. 2022-03-01 10:30:17 -05:00
machine initrd: Use non-hyphenated kernel command-line parameter names. 2022-03-01 10:30:17 -05:00
packages gnu: cryfs: Update to 0.11.2. 2022-03-16 15:48:52 +01:00
platforms
services services: openssh: Change 'authorized-keys' accessor name. 2022-03-10 23:46:51 +01:00
system images: novena: Fix build. 2022-03-15 13:14:29 +01:00
tests tests: nix: Remove tab characters. 2022-02-21 13:38:47 +01:00
artwork.scm
bootloader.scm
ci.scm
home.scm
image.scm
installer.scm installer: Use system-wide guix for system init. 2022-02-02 16:46:44 +01:00
local.mk gnu: mariadb: Fix building for powerpc-linux. 2022-03-15 22:20:15 +02:00
machine.scm gnu: Fix typo. 2022-02-08 13:34:02 +01:00
packages.scm
platform.scm
services.scm services: startup: Add description. 2022-03-10 23:46:51 +01:00
system.scm system: Improve 'read-boot-parameters' incompatibility diagnostic. 2022-03-16 15:48:52 +01:00
tests.scm