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 accounts: Delete duplicate entries. 2019-08-28 00:27:14 +02:00
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 gnu: cross-base: Switch back to 'CROSS_C_INCLUDE_PATH' & co. 2020-02-12 20:35:43 +01:00
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-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 gnu: glibc-locales: Install symlinks using the normalized codeset. 2019-06-07 21:50:18 +02:00
marionette.scm marionette: Provide portable US-layout keystrokes for "<" and ">". 2020-02-22 00:45:42 +01:00
shepherd.scm shepherd: 'read-pid-file/container' terminates the whole process group. 2020-06-12 00:04:42 +02:00
svg.scm bootloader: grub: Use 'with-extensions'. 2018-06-01 15:21:28 +02:00
vm.scm database: 'register-items' takes an open database. 2020-06-18 14:48:17 +02:00