mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
7f75a7ec08
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. |
||
---|---|---|
.. | ||
accounts.scm | ||
activation.scm | ||
bootloader.scm | ||
cross-toolchain.scm | ||
file-systems.scm | ||
hurd-boot.scm | ||
image.scm | ||
install.scm | ||
linux-boot.scm | ||
linux-container.scm | ||
linux-initrd.scm | ||
linux-modules.scm | ||
locale.scm | ||
marionette.scm | ||
shepherd.scm | ||
svg.scm | ||
vm.scm |