guix/gnu
Mathieu Othacehe 7f75a7ec08
system: image: Remove "image-root" when building raw disk-images.
The "image-root" derivation output is used as a temporary directory that is
passed to mke2fs and mkdosfs later on. By merging the creation of this
directory and the production of partition images, we can get rid of the
derivation.

As mke2fs and mkdosfs are not able to override file permissions, call those
commands with fakeroot. This way, all the image files will be owned by root,
even if image generation is done in an unprivilegded context.

* gnu/system/image.scm (system-disk-image): Merge "image-root" and
"iso9660-image" derivations so that we spare an extra derivation. Also add
"fakeroot" and its runtime dependencies to the inputs.
* gnu/build/image.scm (make-ext-image, make-vfat-image): Make sure that mke2fs
and mkdosfs are respectively called by fakeroot.
2020-06-22 17:49:19 +02:00
..
bootloader
build system: image: Remove "image-root" when building raw disk-images. 2020-06-22 17:49:19 +02:00
installer installer: final: Remove restart-service procedure. 2020-06-16 16:33:55 +02:00
machine machine: ssh: Fix guix deploy hang when using non-DCE UUIDs. 2020-06-18 23:20:41 -04:00
packages gnu: gn: Update to 0.0-1794.eb997b5. 2020-06-22 17:16:39 +02:00
services services: childhurd: Support more than one instance. 2020-06-21 12:51:36 +02:00
system system: image: Remove "image-root" when building raw disk-images. 2020-06-22 17:49:19 +02:00
tests image: Make 'find-image' non-monadic. 2020-06-13 15:03:55 +02:00
artwork.scm
bootloader.scm
ci.scm
image.scm image: Add 'target' support. 2020-06-13 15:20:52 +02:00
installer.scm
local.mk gnu: ungoogled-chromium: Update to 83.0.4103.106-0.f08ce8b [security fixes]. 2020-06-22 17:16:39 +02:00
machine.scm
packages.scm
services.scm
system.scm system: Add 'sg' and 'newgrp' to %SETUID-PROGRAMS. 2020-06-21 11:35:55 +08:00
tests.scm