system: File system sources can be marked as labels or devices.
authorLudovic Courtès <ludo@gnu.org>
Mon, 2 Jun 2014 21:58:50 +0000 (23:58 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 2 Jun 2014 22:14:58 +0000 (00:14 +0200)
commitd4c87617e5c0c50573019e4621ed318489cf209a
tree5027b6bc308940b1c746f9081ace608bafb841a0
parent2405858a0477aca880bb32c032df459de68e1bfd
system: File system sources can be marked as labels or devices.

* gnu/system/file-systems.scm (<file-system>)[title]: New field.
* gnu/services/base.scm (file-system-service): Add #:title parameter.
  In 'start' gexp, use 'canonicalize-device-spec' and honor TITLE.
* gnu/system.scm (other-file-system-services,
  operating-system-root-file-system, operating-system-initrd-file):
  Adjust accordingly.
* gnu/system/linux-initrd.scm (file-system->spec): Likewise.
* gnu/system/vm.scm (system-disk-image): Add 'title' field for the root
  file system.
* guix/build/linux-initrd.scm (mount-file-system): Expect the second
  element of SPEC to be the title.
  (boot-system)[root-mount-point?, root-fs-type]: Likewise.
* gnu/services/dmd.scm (dmd-configuration-file): Select
  'canonicalize-device-spec'.
gnu/services/base.scm
gnu/services/dmd.scm
gnu/system.scm
gnu/system/file-systems.scm
gnu/system/linux-initrd.scm
gnu/system/vm.scm
guix/build/linux-initrd.scm