mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
15c760d6b8
`make-disk-image` is a tool for creating VM images. It takes an argument `contents` that allows one to specify files and directories that should be copied into the VM image. However, directories end up not at the specified target, but instead at a subdirectory of the target, with a nix-store-like path, e.g. `/target/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-source`. See issue https://github.com/NixOS/nixpkgs/issues/226203 . This change adds a test for make-disk-image's contents directory handling and adds a fix (appending `/` to rsync input directory names). This closes issue https://github.com/NixOS/nixpkgs/issues/226203 . |
||
---|---|---|
.. | ||
make-options-doc | ||
test-driver | ||
testing | ||
default.nix | ||
eval-cacheable-options.nix | ||
eval-config-minimal.nix | ||
eval-config.nix | ||
from-env.nix | ||
make-channel.nix | ||
make-disk-image.nix | ||
make-ext4-fs.nix | ||
make-iso9660-image.nix | ||
make-iso9660-image.sh | ||
make-multi-disk-zfs-image.nix | ||
make-single-disk-zfs-image.nix | ||
make-squashfs.nix | ||
make-system-tarball.nix | ||
make-system-tarball.sh | ||
qemu-common.nix | ||
systemd-lib.nix | ||
systemd-types.nix | ||
systemd-unit-options.nix | ||
test-script-prepend.py | ||
testing-python.nix | ||
utils.nix |