vm: 'system-disk-image' no longer requires the OS to define the "/" file system.
authorLudovic Courtès <ludo@gnu.org>
Wed, 24 Apr 2019 19:56:03 +0000 (21:56 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 24 Apr 2019 22:45:35 +0000 (00:45 +0200)
commit5be7aecd1443cdb60fe0252e62767cf1193bf6bd
treea2553fc930fe99bc1fe7f4b6171c4bae50999139
parent91a7c4998fe4f5a2a63f2ddb4bfeeef81c68b6d7
vm: 'system-disk-image' no longer requires the OS to define the "/" file system.

Previously 'guix system disk-image' would fail if the OS didn't define a
"/" file system, even though it actually overrides that file system.

* gnu/system/vm.scm (system-disk-image)[root-uuid]: Turn into a
procedure.
Call 'root-uuid' on a variant of OS with a "/" file system and inherit
from that.
gnu/system/vm.scm