me
/
guix
Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
guix/gnu/build
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
..
accounts.scm
activation.scm activation: Fix function call for system activation 2020-06-09 10:43:54 +02:00
bootloader.scm build: bootloader: Add install-efi procedure. 2020-05-05 16:08:33 +02:00
cross-toolchain.scm
file-systems.scm linux-boot: Refactor boot-system. 2020-05-20 08:30:34 -04:00
hurd-boot.scm hurd-boot: Use 'setxattr' instead of invoking settrans. 2020-06-19 10:40:53 +02:00
image.scm system: image: Remove "image-root" when building raw disk-images. 2020-06-22 17:49:19 +02:00
install.scm Merge branch 'master' into core-updates 2020-05-05 20:43:21 +02:00
linux-boot.scm hurd-boot: Further cleanup of "rc". 2020-06-08 14:26:14 +02:00
linux-container.scm
linux-initrd.scm
linux-modules.scm
locale.scm
marionette.scm
shepherd.scm shepherd: 'read-pid-file/container' terminates the whole process group. 2020-06-12 00:04:42 +02:00
svg.scm
vm.scm database: 'register-items' takes an open database. 2020-06-18 14:48:17 +02:00