nixpkgs/pkgs/os-specific
Andrew Marshall 49e6c686f8 mdadm: Fix hardcoded directory
In [upstream change][1], handling of creating `/run/mdadm/creating-%s`
file was changed to fail if it was unable to create the file. This
revealed that the path itself incorrectly hardcodes `/run/mdadm` instead
of using `MAP_DIR` or similar. Since nixpkgs sets `RUN_DIR=/run/.mdadm`
at compile time, and `MAP_DIR=$(RUN_DIR)` in upstream, the `/run/mdadm`
is never created. This remedies by fixing the hard-coded directory.

[1]: https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=9f376da6439b07dc93ae084ab576e133b9d8d839
2024-04-02 19:26:16 -04:00
..
bsd freebsd: Use's @rhelmot's version infra 2024-04-01 10:45:54 -04:00
darwin Merge master into staging-next 2024-04-01 00:02:29 +00:00
linux mdadm: Fix hardcoded directory 2024-04-02 19:26:16 -04:00
solo5
windows Merge pull request #283551 from a-n-n-a-l-e-e/llvmPackages_8-drop 2024-01-29 22:25:38 -08:00