guix/gnu/build
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
..
accounts.scm accounts: Delete duplicate entries. 2019-08-28 00:27:14 +02:00
activation.scm activation: Check whether /proc/sys/kernel/modprobe exists. 2020-01-06 16:31:54 +01:00
bootloader.scm build: bootloader: Add install-efi procedure. 2020-05-05 16:08:33 +02:00
cross-toolchain.scm Merge branch 'master' into core-updates 2019-08-29 17:19:18 -04:00
file-systems.scm file-systems: Fix UTF-16 handling in initrd. 2020-05-03 23:04:57 +02:00
image.scm image: Add a new API. 2020-05-05 16:13:53 +02:00
install.scm image: Add a new API. 2020-05-05 16:13:53 +02:00
linux-boot.scm linux-boot: Allow the root file system to be mounted via NFS. 2020-05-02 16:49:30 +02:00
linux-container.scm linux-container: "run-container" scripts shows the container's PID. 2019-09-12 23:07:43 +02:00
linux-initrd.scm build: initrd: Fix "write-cpio-archive" return value. 2019-09-25 12:18:25 +09:00
linux-modules.scm system: Add kernel-loadable-modules to operating-system. 2020-03-22 12:51:50 +01:00
locale.scm
marionette.scm marionette: Provide portable US-layout keystrokes for "<" and ">". 2020-02-22 00:45:42 +01:00
shepherd.scm shepherd: Ensure the log file has correct ownership. 2019-09-26 23:15:28 +02:00
svg.scm
vm.scm build: bootloader: Add install-efi procedure. 2020-05-05 16:08:33 +02:00