mapped-devices: Allow target to be list of strings.
authorMikhail Tsykalov <tsymsh@gmail.com>
Fri, 6 Nov 2020 09:47:37 +0000 (12:47 +0300)
committerLudovic Courtès <ludo@gnu.org>
Wed, 25 Nov 2020 23:05:39 +0000 (00:05 +0100)
commit788df2ecd62d5c2fc0d94928f45c947e6393e20b
treec91868513806a53c7780b835fd767282cec31ebe
parent0a1da4652d9bb93d530ca52710f30b5d05a4251d
mapped-devices: Allow target to be list of strings.

* gnu/system/mapped-devices.scm (<mapped-device>): Rename constructor to
%mapped-device.
[target]: Remove field.
[targets]: New field. Adjust users.
(mapped-device-compatibility-helper, mapped-device): New macros.
(mapped-device-target): New deprecated procedure.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
doc/guix.texi
gnu/services/base.scm
gnu/system.scm
gnu/system/linux-initrd.scm
gnu/system/mapped-devices.scm