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 system: Allow for comma-separated keyboard layouts. 2020-04-06 00:14:13 +02:00
linux-container.scm services: system: Initial entries are non-monadic. 2020-04-26 22:49:49 +02:00
linux-initrd.scm linux-initrd: Silence Guile warnings. 2020-05-16 00:34:41 +02:00
locale.scm locale: Use the native gzip and libc when building locales. 2020-05-15 00:01:39 +02:00
mapped-devices.scm
nss.scm
pam.scm services: Add descriptions. 2020-05-08 16:30:50 +02:00
shadow.scm services: Add descriptions. 2020-05-08 16:30:50 +02:00
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