bootloader: grub: Rename the btrfs-subvolume-file-name parameter.

Following discussion in <https://issues.guix.gnu.org/37305>, it seems more
appropriate to give the parameter a more generic name that better describes
what it does.

* gnu/bootloader/grub.scm (normalize-file): Rename the
BTRFS-SUBVOLUME-FILE-NAME parameter to STORE-DIRECTORY-PREFIX, and always
assume this argument to be a string.
(eye-candy): Likewise.  Default STORE-DIRECTORY-PREFIX to "".
(grub-configuration-file): Likewise.
* gnu/system.scm (operating-system-bootcfg): Adapt.
This commit is contained in:
Maxim Cournoyer 2020-05-27 22:44:28 -04:00
parent c08fac0f7d
commit e7b86a0d88
No known key found for this signature in database
GPG key ID: 1260E46482E63562
2 changed files with 23 additions and 26 deletions

View file

@ -1118,7 +1118,7 @@ a list of <menu-entry>, to populate the \"old entries\" menu."
(generate-config-file bootloader-conf (list entry)
#:old-entries old-entries
#:btrfs-subvolume-file-name
#:store-directory-prefix
(btrfs-store-subvolume-file-name file-systems))))
(define* (operating-system-boot-parameters os root-device