guix/gnu
Miguel Ángel Arruga Vivas 582cf9257c
system: Add store-directory-prefix to boot-parameters.
Fixes <http://issues.guix.gnu.org/44196>

* gnu/machine/ssh.scm (roll-back-managed-host): Use
boot-parameters-store-directory-prefix.
* gnu/system.scm (define-module): Export
boot-parameters-store-directory-prefix.
(<boot-parameters>)[store-directory-prefix]: New field. It is used to
generate the correct paths when /gnu/store is installed on a btrfs
subvolume whose name doesn't match the final runtime path, as the
bootloader doesn't have knowledge about the final mounting points.
[boot-parameters-store-directory-prefix]: New accessor.
(read-boot-parameters): Read directory-prefix from store field.
(operating-system-boot-parameters-file): Add directory-prefix to
store field.
* guix/scripts/system.scm (reinstall-bootloader): Use
boot-parameters-store-directory-prefix.
* test/boot-parameters.scm (%default-btrfs-subvolume,
%default-store-directory-prefix): New variables.
(%grub-boot-parameters): Use %default-store-directory-prefix.
(%default-operating-system): Use %default-btrfs-subvolume.
(test-boot-parameters): Add directory-prefix.
(test optional fields): Add test for directory-prefix.
(test os store-directory-prefix): New test.
2020-11-01 02:28:38 +01:00
..
bootloader system: Generate grub locale directory for grub.cfg. 2020-11-01 01:14:36 +01:00
build file-systems: Allow swap space lookup by UUID/label. 2020-10-30 01:14:20 +01:00
installer installer: Use UUIDs in the 'swap-devices' field. 2020-10-30 01:14:21 +01:00
machine system: Add store-directory-prefix to boot-parameters. 2020-11-01 02:28:38 +01:00
packages gnu: httpie: Update to 2.3.0. 2020-10-31 23:16:44 +01:00
services services: guix-publish: Add 'cache-bypass-threshold' field. 2020-10-30 12:31:18 +01:00
system
tests installer: Use UUIDs in the 'swap-devices' field. 2020-10-30 01:14:21 +01:00
artwork.scm
bootloader.scm
ci.scm
image.scm
installer.scm installer: Call setlocale after init gettext. 2020-10-18 17:55:40 +02:00
local.mk gnu: sbcl-geco: Fix build. 2020-10-31 18:01:00 +01:00
machine.scm
packages.scm
services.scm services: provenance: Wrap config file name in 'assume-valid-file-name'. 2020-10-16 15:00:50 +02:00
system.scm system: Add store-directory-prefix to boot-parameters. 2020-11-01 02:28:38 +01:00
tests.scm