summary refs log tree commit diff
path: root/gnu.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-07-18 00:51:02 +0200
committerLudovic Courtès <ludo@gnu.org>2016-07-18 01:26:03 +0200
commit2bdd7ac17ceff60cd5ef77e530f62cea902bf90d (patch)
tree20b37d40904546f380d0cc6dcae8505bad16a737 /gnu.scm
parent0b07350675ef8b94041605cb53d4763fb97c8d7d (diff)
downloadguix-2bdd7ac17ceff60cd5ef77e530f62cea902bf90d.tar.gz
system: Honor the 'dependencies' field of file systems.
This allows mapped devices listed in 'dependencies' to be properly taken
into account.

Reported by Andreas Enge <andreas@enge.fr>.

* gnu/system.scm (mapped-device-user): Check whether DEVICE is a member
of the 'dependencies' of FS.
* tests/system.scm (%luks-device, %os-with-mapped-device): New variables.
("operating-system-user-mapped-devices")
("operating-system-boot-mapped-devices")
("operating-system-boot-mapped-devices, implicit dependency"): New tests.
Diffstat (limited to 'gnu.scm')
0 files changed, 0 insertions, 0 deletions