guix-devel/gnu/system
Ludovic Courtès 61b94b8c32
vm: 'vm-image' images refer to the root file system by UUID.
This avoids the hard-coded "/dev/sda1", which only made sense when the
image is run with "qemu-system-x86_64 -hda", not when it's passed to
Xen, etc.

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

* gnu/system/vm.scm (system-qemu-image): Define 'root-uuid', use it as
the 'device' field for "/", and pass it to 'qemu-image'.
2018-01-07 15:09:05 +01:00
..
examples system: examples: Add missing initrd to beaglebone-black.tmpl. 2017-12-22 08:49:57 +01:00
file-systems.scm file-systems: Move %control-groups from %base-file-systems to 2017-12-22 15:03:10 +01:00
install.scm system: examples: Add a template for BeagleBone Black. 2017-12-18 15:28:14 +01:00
linux-container.scm
linux-initrd.scm build: Use overlayfs instead of unionfs. 2017-11-08 18:23:05 +01:00
locale.scm
mapped-devices.scm mapped-devices: 'luks-device-mapping' checks its source device. 2017-12-22 09:48:38 +01:00
nss.scm
pam.scm
shadow.scm system: Return early in skeleton '.bashrc' when the shell is non-interactive. 2017-11-01 20:29:32 +01:00
uuid.scm uuid: Fix typo in comment. 2017-12-02 23:13:20 +01:00
vm.scm vm: 'vm-image' images refer to the root file system by UUID. 2018-01-07 15:09:05 +01:00