guix-devel/guix/scripts
Ludovic Courtès a5acc17a3c
file-systems: Remove 'title' field and add <file-system-label>.
The 'title' field was easily overlooked and was an endless source of
confusion.  Now, the value of the 'device' field is self-contained.

* gnu/system/file-systems.scm (<file-system>): Change constructor name
to '%file-system'.
[title]: Remove.
(<file-system-label>): New record type with printer.
(report-deprecation, device-expression)
(process-file-system-declaration, file-system): New macros.
(file-system-title): New procedure.
(file-system->spec, spec->file-system): Adjust to handle
<file-system-label>.
* gnu/system.scm (bootable-kernel-arguments): Add case for
'file-system-label?'.
(read-boot-parameters): Likewise.
(mapped-device-user): Avoid 'file-system-title'.
(fs->boot-device): Remove.
(operating-system-boot-parameters): Use 'file-system-device' instead of
'fs->boot-device'.
(device->sexp): Add case for 'file-system-label?'.
* gnu/bootloader/grub.scm (grub-root-search): Add case for
'file-system-label?'.
* gnu/system/examples/bare-bones.tmpl,
gnu/system/examples/beaglebone-black.tmpl,
gnu/system/examples/lightweight-desktop.tmpl,
gnu/system/examples/vm-image.tmpl: Remove uses of 'title'.
* gnu/system/vm.scm (virtualized-operating-system): Remove uses of
'file-system-title'.
* guix/scripts/system.scm (check-file-system-availability): Likewise,
and adjust fix-it hint.
(check-initrd-modules)[file-system-/dev]: Likewise.
* gnu/build/file-systems.scm (canonicalize-device-spec): Remove 'title'
parameter.
[canonical-title]: Remove.
Match on SPEC's type rather than on CANONICAL-TITLE.
(mount-file-system): Adjust caller.
* gnu/build/linux-boot.scm (boot-system): Interpret ROOT here.
* gnu/services/base.scm (file-system->fstab-entry): Remove use of
'file-system-title'.
* doc/guix.texi (File Systems): Remove documentation of the 'title'
field.  Rewrite documentation of 'device' and document
'file-system-label'.
2018-05-28 13:24:11 +02:00
..
container ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
import import: Add JSON importer. 2017-09-28 13:10:11 +02:00
system guix system: search: Display all provision names as 'shepherdnames'. 2018-05-01 23:29:03 +02:00
archive.scm scripts: All commands enable build hooks by default. 2017-12-07 23:12:37 +01:00
authenticate.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
build.scm guix build: Nicely report unbound variables with hints. 2018-05-04 15:07:08 +02:00
challenge.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
container.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
copy.scm scripts: All commands enable build hooks by default. 2017-12-07 23:12:37 +01:00
download.scm Add (guix progress). 2017-10-19 23:21:49 +02:00
edit.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
environment.scm guix environment: load manifest files like "guix package" does 2018-03-27 23:26:15 +02:00
gc.scm guix gc: Add '--derivers'. 2018-03-27 14:51:44 +02:00
graph.scm graph: Add "module" node type. 2018-03-27 14:51:44 +02:00
hash.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
import.scm import: Add JSON importer. 2017-09-28 13:10:11 +02:00
lint.scm guix: Fix typo. 2018-05-11 14:36:53 +02:00
offload.scm offload: Look at machine loads for the past minute. 2018-01-15 23:29:33 +01:00
pack.scm pack: Link top-level entries of wrapped packages. 2018-05-14 23:01:36 +02:00
package.scm guix package: Add '--allow-collisions'. 2018-03-31 23:30:50 +02:00
perform-download.scm derivations: Introduce 'read-derivation-from-file'. 2017-06-12 17:53:51 +02:00
publish.scm publish: Restore gzip compression in cache-less mode. 2018-01-22 11:15:50 +01:00
pull.scm scripts: All commands enable build hooks by default. 2017-12-07 23:12:37 +01:00
refresh.scm refresh: Account for hidden packages. 2017-11-07 00:12:10 +01:00
size.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
substitute.scm build: Require Guile >= 2.0.13. 2018-02-26 18:19:34 +01:00
system.scm file-systems: Remove 'title' field and add <file-system-label>. 2018-05-28 13:24:11 +02:00
weather.scm weather: Fix type error when reporting CI stats. 2018-04-30 23:41:21 +02:00