vm: Make root file system type a parameter, and default to ext4.
authorLudovic Courtès <ludo@gnu.org>
Sat, 3 May 2014 10:16:10 +0000 (12:16 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 3 May 2014 10:16:23 +0000 (12:16 +0200)
commit03ddfaf5fb5fab78f7180089158bea0494072b3c
treef4a10226ab86aed01ce9e9603d6532fe9fe2bcaa
parente20fd1bf80d8038b56abe29d6bf0f1d7150fddd5
vm: Make root file system type a parameter, and default to ext4.

* gnu/system/vm.scm (qemu-image): Add #:file-system-type parameter.
  Pass it to 'initialize-hard-disk'.
* guix/build/linux-initrd.scm (mount-root-file-system): Always honor
  TYPE.
  (boot-system): Change #:root-fs-type to default to "ext4".  Update
  docstring.
* guix/build/vm.scm (initialize-hard-disk): Remove #:mkfs parameter; add
  #:file-system-type.  Adjust 'mkfs' invocation and 'mount' call to
  honor #:file-system-type.
gnu/system/vm.scm
guix/build/linux-initrd.scm
guix/build/vm.scm