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 file-systems: Add 'file-system-mapping->bind-mount'. 2017-02-03 00:23:28 +01:00
linux-initrd.scm build: Use overlayfs instead of unionfs. 2017-11-08 18:23:05 +01:00
locale.scm locale: Demonadify the locale creation API. 2017-07-17 23:41:36 +02:00
mapped-devices.scm mapped-devices: 'luks-device-mapping' checks its source device. 2017-12-22 09:48:38 +01:00
nss.scm nss: Add '%mdns-host-lookup-nss'. 2015-05-08 16:35:32 +02:00
pam.scm services: Move 'session-environment-service-type' to pam.scm. 2017-09-22 00:05:08 +02:00
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