guix/gnu/system
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
..
examples system: bare-hurd.tmpl: Add openssh-sans-x client and service. 2020-06-13 09:11:47 +02:00
accounts.scm
file-systems.scm bootloader: grub: Allow booting from a Btrfs subvolume. 2020-05-20 08:30:35 -04:00
hurd.scm system: hurd: Add "/bin/sh" and "/usr/bin/env". 2020-06-18 09:38: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 system: install: Add default libcs to gc-roots. 2020-06-08 10:52:53 +02:00
keyboard.scm
linux-container.scm
linux-initrd.scm
locale.scm
mapped-devices.scm
nss.scm
pam.scm
shadow.scm
uuid.scm uuid: Prevent a loop on invalid arguments. 2020-06-18 23:24:37 -04:00
vm.scm system: vm: Add missing imported module. 2020-06-09 01:31:16 -04:00