3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/lib
Leon Barrett 15c760d6b8 nixos/make-disk-image: fix contents dir paths
`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 .
2023-04-16 09:54:45 -07:00
..
make-options-doc nixos-render-docs: add options asciidoc converter 2023-02-21 18:19:00 +01:00
test-driver nixos/test-driver: accept non-\w* filenames 2023-03-22 15:54:06 +00:00
testing nixos/lib/testing: set default timeout for VM tests 2023-02-16 19:17:53 +03:00
default.nix nixos/testing: Move entrypoint to nixos/lib + doc 2022-09-24 17:38:08 +01:00
eval-cacheable-options.nix
eval-config-minimal.nix
eval-config.nix nixos/lib/eval-config: Document the use of baseModules 2022-09-24 17:38:09 +01:00
from-env.nix
make-channel.nix channel: add --show-trace to nix-env command 2023-02-03 23:02:47 +00:00
make-disk-image.nix nixos/make-disk-image: fix contents dir paths 2023-04-16 09:54:45 -07:00
make-ext4-fs.nix
make-iso9660-image.nix
make-iso9660-image.sh
make-multi-disk-zfs-image.nix nixos/lib/make-multi-disk-zfs-image: expose memSize parameter 2023-02-26 20:18:04 -05:00
make-single-disk-zfs-image.nix nixos/lib/make-single-disk-zfs-image.nix: remove unused binding 2022-09-26 22:19:06 -04:00
make-squashfs.nix
make-system-tarball.nix make-system-tarball: use pixz -t 2022-08-22 05:28:36 +03:00
make-system-tarball.sh
qemu-common.nix nixos/lib/qemu-common.nix: set qemuSerialDevice for isMips64 2022-10-04 07:48:12 +00:00
systemd-lib.nix systemd-lib: fix building -.slice (root slice) 2023-03-20 01:11:23 +01:00
systemd-types.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
systemd-unit-options.nix nixos/doc: fix some manpage references 2023-01-03 14:03:35 +01:00
test-script-prepend.py nixos/test-driver: Typecheck TestScript 2022-06-02 10:05:45 +02:00
testing-python.nix nixos/testing-python.nix: Help users who need specialArgs 2022-12-23 18:41:52 +01:00
utils.nix lib.replaceChars: warn about being a deprecated alias 2022-12-15 22:25:51 +02:00