guix/gnu/system
Mathieu Othacehe f19cf27c2b
image: Add a new API.
Raw disk-images and ISO9660 images are created in a Qemu virtual machine. This
is quite fragile, very slow, and almost unusable without KVM.

For all these reasons, add support for host image generation. This implies the
use new image generation mechanisms.

- Raw disk images: images of partitions are created using tools such as mke2fs
  and mkdosfs depending on the partition file-system type. The partition
  images are then assembled into a final image using genimage.

- ISO9660 images: the ISO root directory is populated within the store. GNU
  xorriso is then called on that directory, in the exact same way as this is
  done in (gnu build vm) module.

Those mechanisms are built upon the new (gnu image) module.

* gnu/image.scm: New file.
* gnu/system/image.scm: New file.
* gnu/build/image: New file.
* gnu/local.mk: Add them.
* gnu/system/vm.scm (system-disk-image): Rename to system-disk-image-in-vm.
* gnu/ci.scm (qemu-jobs): Adapt to new API.
* gnu/tests/install.scm (run-install): Ditto.
* guix/scripts/system.scm (system-derivation-for-action): Ditto.
2020-05-05 16:13:53 +02:00
..
examples system: Add xterm to lightweight-desktop example. 2020-04-02 11:48:25 +02:00
accounts.scm accounts: Add default value for the 'home-directory' field of <user-account>. 2019-03-25 23:37:06 +01:00
file-systems.scm file-systems: mount the PID cgroup filesystem. 2020-04-27 14:14:47 +02:00
image.scm image: Add a new API. 2020-05-05 16:13:53 +02:00
install.scm install: Add f2fs-tools to the installation image. 2020-05-03 20:35:50 +02:00
keyboard.scm system: Allow for comma-separated keyboard layouts. 2020-04-06 00:14:13 +02:00
linux-container.scm services: system: Initial entries are non-monadic. 2020-04-26 22:49:49 +02:00
linux-initrd.scm linux-initrd: Provide fsck for F2FS. 2020-05-03 23:04:59 +02:00
locale.scm Add (gnu build locale). 2019-06-07 21:50:18 +02:00
mapped-devices.scm linux-modules: Factorize 'missing-modules'. 2019-03-13 23:12:43 +01:00
nss.scm nss: Remove '%compat' from the defaults. 2018-03-27 23:26:15 +02:00
pam.scm system: pam: Add #:login-uid? parameter to 'unix-pam-service'. 2019-05-09 12:11:36 +02:00
shadow.scm services: account: Have 'user-processes' depend on 'user-homes'. 2020-04-17 23:18:32 +02:00
uuid.scm uuid: Add support for JFS. 2020-01-03 13:54:13 +01:00
vm.scm image: Add a new API. 2020-05-05 16:13:53 +02:00