mbox

[bug#40955,0/5] Add new image API.

Message ID 20200429083814.23768-1-m.othacehe@gmail.com
Headers show

Message

Mathieu Othacehe April 29, 2020, 8:38 a.m. UTC
Hello,

This has been discussed previously on the mailing-list and can be seen on the
wip-disk-image branch.

It introduces a new (gnu image) module. This module makes image creation more
modular and extensible.

Creation of raw disk-images and ISO9660 images is now handled in (gnu system
image), and based on the new image API. This does not involve the use of
virtual machines anymore.

Some bootloaders are not yet supported (MBR based grub, extlinux,
u-boot). Image creation with those bootloaders, fallback to original VM based
process.

See:
https://lists.gnu.org/archive/html/guix-devel/2020-04/msg00347.html

Thanks,

Mathieu

Mathieu Othacehe (5):
  build: store-copy: Export file-size procedure.
  build: install: Ignore chown exceptions.
  build: bootloader: Add install-efi procedure.
  image: Add a new API.
  vm: Remove obsolete procedures.

 gnu/build/bootloader.scm  |  55 +++-
 gnu/build/image.scm       | 275 ++++++++++++++++++++
 gnu/build/install.scm     |   4 +-
 gnu/build/vm.scm          | 175 +------------
 gnu/ci.scm                |  45 ++--
 gnu/image.scm             |  77 ++++++
 gnu/local.mk              |   3 +
 gnu/system/image.scm      | 514 ++++++++++++++++++++++++++++++++++++++
 gnu/system/vm.scm         | 168 ++-----------
 gnu/tests/install.scm     |  22 +-
 guix/build/store-copy.scm |   1 +
 guix/scripts/system.scm   |  13 +-
 12 files changed, 996 insertions(+), 356 deletions(-)
 create mode 100644 gnu/build/image.scm
 create mode 100644 gnu/image.scm
 create mode 100644 gnu/system/image.scm