diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-07-25 23:57:52 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-07-26 00:57:44 +0200 |
commit | 72b891e50e1d0106a4b7a0fd88a44e34baae93e9 (patch) | |
tree | 8be1c181ffd8633be67995e2830506829a05ba9d /emacs.am | |
parent | 5b9da1f955a9c765191259eb9d24520e4b174e38 (diff) | |
download | patches-72b891e50e1d0106a4b7a0fd88a44e34baae93e9.tar patches-72b891e50e1d0106a4b7a0fd88a44e34baae93e9.tar.gz |
vm: Make the list of partitions to build a parameter.
* gnu/build/vm.scm (<partition>): New record type.
(fold2): New procedure.
(initialize-partition-table): Remove #:bootable? and
'partition-size' parameters. Add 'partitions' parameter. Invoke 'parted'
with '--script'.
(initialize-root-partition): Remove.
(initialize-partition, root-partition-initializer): New procedures.
(initialize-hard-disk): Remove #:system-directory, #:disk-image-size,
#:file-system-type, #:file-system-label, #:closures, #:copy-closures?,
#:bootable?, and #:register-closures? parameters. Add #:partitions.
Rewrite to use 'initialize-partition' for each item of PARTITIONS.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Add (guix records)
to #:modules default value.
(qemu-image): Adjust accordingly.
Diffstat (limited to 'emacs.am')
0 files changed, 0 insertions, 0 deletions