system: Add a 'needed-for-boot?' field to 'mapped-device'.
authorLudovic Courtès <ludo@gnu.org>
Sat, 29 Nov 2014 13:40:26 +0000 (14:40 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sat, 29 Nov 2014 13:40:26 +0000 (14:40 +0100)
commit3b09332adf7ce8e976a4d117a62c586a53af04aa
tree0400980787f83e8eb2b9a379af9b9f59347504a1
parent9cd0dfaa4654e49cd0af82993b91789cb3012354
system: Add a 'needed-for-boot?' field to 'mapped-device'.

* gnu/system/file-systems.scm (<mapped-device>)[needed-for-boot?]: New
  field.
* gnu/system.scm (operating-system-user-mapped-devices,
  operating-system-boot-mapped-devices): Use it instead of trying to
  guess.  Guessing doesn't work when one refers to a partition using its
  label, for instance.
* doc/guix.texi (Mapped Devices): Document 'needed-for-boot?'.
doc/guix.texi
gnu/system.scm
gnu/system/file-systems.scm