summary refs log tree commit diff
path: root/pkgs/os-specific/linux/mdadm
Commit message (Collapse)AuthorAge
* pkgs/os-specific: stdenv.lib -> libBen Siraphob2021-01-17
|
* treewide: with stdenv.lib; in meta -> with lib;Profpatsch2021-01-11
| | | | | | | | | | | | | | | | | | | Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
* utillinux: rename to util-linuxGraham Christensen2020-11-24
|
* treewide: Per RFC45, remove all unquoted URLsMichael Reilly2020-04-10
|
* mdadm: fix path to sendmailBjørn Forsman2019-09-18
| | | | | | | | | Without this, mdadm won't be able to send email notifications: $ sudo mdadm --monitor --scan --test sh: /nix/store/2v8jn0lxza72grcm6hciak9fpgm7xb3a-system-sendmail-1.0: Is a directory Fixes: b074a40f74c2 ("mdadm: use shared system-sendmail")
* mdadm: install systemd unitsNikolay Amiantov2019-08-01
|
* mdadm: use absolute pathsNikolay Amiantov2019-08-01
| | | | | | | We also correct paths in udev rules. This is cleaner and allows for less unexpected behaviour. We still check for self-references, however we do it manually now and only for binaries as udev rules can have them. Rather, we patch them out during initrd generation now.
* treewide: remove unused variables (#63177)volth2019-06-16
| | | | | | * treewide: remove unused variables * making ofborg happy
* mdadm: use shared system-sendmailLéo Gaspard2018-12-01
|
* mdadm: 4.0 -> 4.1Léo Gaspard2018-10-28
|
* treewide: Remove usage of remaining redundant platform compatability stuffJohn Ericson2018-08-30
| | | | | Want to get this out of here for 18.09, so it can be deprecated thereafter.
* mdadm: add licenseMarkus Kowalewski2018-08-17
|
* treewide: remove platform assertionsMatthew Bauer2018-05-03
| | | | linux: readd assertion
* mdadm: allow sending mail when using opensmtpdLéo Gaspard2018-03-30
| | | | | | | | | | | OpenSMTPD does not require the setuid bit for its `sendmail`. This works around it by wrapping the called `sendmail` so that the wrapper falls back on either the setuid `sendmail` or the non-setuid `sendmail` depending on what's available. The solution of relying on `$PATH` to be set is unfortunately unreliable, as `mdadm --monitor` will likely be executed from a `systemd` unit, that runs with a clean `$PATH`.
* mdadm: Make 4.0 the defaultTuomas Tynkkynen2018-01-28
| | | | | | 4.0 has been out for a year without another upstream release, so presumably 4.x's quite stable enough (and already in Arch & Debian Buster for instance).
* mdadm: Fix cross-compilationBen Gamari2018-01-09
|
* treewide: Use `targetPrefix` instead of `prefix` for platform name prefixesJohn Ericson2017-11-27
| | | | | | | | | Certain tools, e.g. compilers, are customarily prefixed with the name of their target platform so that multiple builds can be used at once without clobbering each other on the PATH. I was using identifiers named `prefix` for this purpose, but that conflicts with the standard use of `prefix` to mean the directory where something is installed. To avoid conflict and confusion, I renamed those to `targetPrefix`.
* mdadm4: Fix build by including change from 7d010ab5f4aeTuomas Tynkkynen2017-09-04
| | | | And drop `-std=gnu89` while at it.
* mdadm: unset STRIPThomas Tuegel2017-07-21
| | | | | | Commit 093cc00cdd9d8cf31ecce5bc1dd3645c460a1b98, sets the STRIP environment variable by default, but this confuses the mdadm Makefile, which uses STRIP as a flag to `install'.
* mdadm: Don't use stdenv.crosshsloan2017-06-28
|
* Getting rid of the var indirection and using a bin path insteadParnell Springmeyer2017-01-29
|
* Addressing PR feedbackParnell Springmeyer2017-01-28
|
* More fixes and improvementsParnell Springmeyer2017-01-26
|
* setcap-wrapper: Merging with upstream master and resolving conflictsParnell Springmeyer2017-01-25
|\
| * mdadm4: init at 4.0Michael Raskin2017-01-10
| | | | | | | | | | | | Would be just mdadm: 3.3.4 -> 4.0, but it doesn't look like there are urgent bugfixes, and it is a major release, and wrong RAID handling kills data, so let's let the early adopters test it a bit.
* | Adapting everything for the merged permissions wrappers work.Parnell Springmeyer2016-09-01
|/
* treewide: Add lots of meta.platformsTuomas Tynkkynen2016-08-02
| | | | Build-tested on x86_64 Linux & Mac.
* mdadm: call /var/setuid-wrappers/sendmail instead of /usr/sbin/sendmailBas van Dijk2016-05-04
|
* Merge recent 'staging' into closure-sizeVladimír Čunát2016-02-03
|\ | | | | | | Let's get rid of those merge conflicts.
| * tarball: fix evaluation of mdadm on darwinVladimír Čunát2016-01-18
| | | | | | | | | | It probably doesn't make any sense to have mdadm on darwin, but we have to "fail in a right way".
* | mdadm: fixup build with multiple-outputsVladimír Čunát2016-01-20
|/ | | | Needed after 011c149ed5e5.
* mdadm: Set allowedReferences to only include libc.aszlig2016-01-18
| | | | | | | | | | | | The updates we had in the past (7719f7f and 1faf610) broke the mdadm installer test and systems in the wild using mdraid because newer mdadm versions contained a self-referenc to its own store path. Instead of putting a big warning about updating in the package expression, let's just add allowedReferences so the build immediately fails if there is a self-reference. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* mdadm: Clean up package expression.aszlig2016-01-18
| | | | | | | | | Let's use makeFlags directly instead of stitching together a makeFlagsArray in preBuild. This should make the expression much more readable and clean. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* mdadm: 3.3 -> 3.3.4aszlig2016-01-18
| | | | | | | | | | | | | | | | | | | | | Okay, this update is a bit more tricky and the patch I've included is not very nice to be honest. So the patch causes "mdadm --udev-rules" to search for the right store path using /proc/self/exec. This has the disadvantage that we could end up having /run/current-system/bin/mdadm in the rule file. But on the other hand, when we're on NixOS, we don't need to use that command *at*all*, so we should be safe. The patch also sets BINDIR to /sbin, which causes the included rule and systemd files to not work out of the box on NixOS. But we have a substituteInPlace where we do rewrite /sbin/mdadm to the right store path in our udev rule generator, so that shouldn't be an issue. I've tested this using the mdraid installer test and it succeeded. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* mdadm: add gcc5 compatWilliam A. Kennington III2015-06-12
|
* Revert "mdadm: 3.3 -> 3.3.2".aszlig2015-04-01
| | | | | | | | | | | | | | | | | This reverts commit 7719f7f23b8ad754d3a5916f5a218110c89eb69f, again! It prevents systems from booting, for two reasons: * The initrd size is going to explode, but I think this is not the REAL issue. We had that in 666cf99 already, which reverted this update already. * Another reason I don't yet know, which is the REAL issue. We need to investigate and fix that before attempting another update. Because of that I've also added a small comment before the src attribute to prevent further updates like this. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* mdadm: 3.3 -> 3.3.2William A. Kennington III2015-03-26
|
* Revert "mdadm: update from 3.3 to 3.3.2"Eelco Dolstra2014-10-09
| | | | | | | | | | | | | | | | | | This reverts commit 1faf6106c3fc5890297ad6c8e26b572d91dede5a. It causes the size of the initrd to explode from ~6 MB to 19 MB: http://hydra.nixos.org/build/15728196 The reason is that mdadm now contains a self-reference: $ strings ./result/sbin/mdadm | grep /nix/store ... ACTION=="add", SUBSYSTEM=="block", ENV{DEVTYPE}=="%s", ENV{ID_PATH}=="%s", RUN+="/nix/store/y1ap6va0av6jhxf7ddnr8vdwxd7b44gd-mdadm-3.3.2/sbin/mdadm --incremental $env{DEVNAME}" ACTION=="add", SUBSYSTEM=="block", ENV{ID_PATH}=="%s", RUN+="/nix/store/y1ap6va0av6jhxf7ddnr8vdwxd7b44gd-mdadm-3.3.2/sbin/mdadm --incremental $env{DEVNAME}" /nix/store/y1ap6va0av6jhxf7ddnr8vdwxd7b44gd-mdadm-3.3.2/sbin/mdmon (Previously, it referred to /sbin/mdadm.) This causes mdadm, glibc and linux-headers to be added to the initrd.
* mdadm: update from 3.3 to 3.3.2Aristid Breitkreuz2014-10-07
|
* Update MDadm from 3.1.2 -> 3.3William A. Kennington III2013-11-28
| | | | | Additionally, remove the old udev patch since this version has a rule for enabling mdraid arrays
* Rename buildNativeInputs -> nativeBuildInputsEelco Dolstra2012-12-28
| | | | | Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs" sounds like an imperative rather than a noun phrase.
* strip trailing whitespacePeter Simons2011-10-06
| | | | svn path=/nixpkgs/trunk/; revision=29695
* mdadm: strip -Werror option from Makefile to fix build errors with GCC 4.6.1Peter Simons2011-10-06
| | | | svn path=/nixpkgs/trunk/; revision=29694
* * mdadm: Enable incremental activation of swraid arrays from udev.Eelco Dolstra2010-05-16
| | | | svn path=/nixpkgs/trunk/; revision=21805
* Upgrade mdadmYury G. Kudryashov2010-05-15
| | | | svn path=/nixpkgs/trunk/; revision=21792
* Made mdadm cross build.Lluís Batlle i Rossell2010-03-04
| | | | svn path=/nixpkgs/trunk/; revision=20380
* * Added mdadm (raidtools replacement).Eelco Dolstra2007-01-10
svn path=/nixpkgs/trunk/; revision=7627