Skip to content

mdadm: use shared system-sendmail #49229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 8, 2018
Merged

Conversation

Ekleog
Copy link
Member

@Ekleog Ekleog commented Oct 27, 2018

Motivation for this change

Use system-sendmail introduced by (not-yet-merged) #49228. Thus this PR is based on it, and currently the overall diff includes lots of useless things. The last commit is the only one important here.

This shares more code across nixpkgs. Hopefully other packages will follow.

Also noticed that mdadm currently had no maintainer, and added myself as one, so that someone feels responsible for future updates.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg GrahamcOfBorg added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` labels Oct 27, 2018
@GrahamcOfBorg GrahamcOfBorg added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Oct 27, 2018
@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: mdadm, opensmtpd

Partial log (click to expand)

shrinking /nix/store/hfxq5p84xi6m8lhl0d92jgp5hmvdgl5s-mdadm-4.0/sbin/mdmon
shrinking /nix/store/hfxq5p84xi6m8lhl0d92jgp5hmvdgl5s-mdadm-4.0/sbin/mdadm
gzipping man pages under /nix/store/hfxq5p84xi6m8lhl0d92jgp5hmvdgl5s-mdadm-4.0/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/hfxq5p84xi6m8lhl0d92jgp5hmvdgl5s-mdadm-4.0/lib  /nix/store/hfxq5p84xi6m8lhl0d92jgp5hmvdgl5s-mdadm-4.0/sbin
patching script interpreter paths in /nix/store/hfxq5p84xi6m8lhl0d92jgp5hmvdgl5s-mdadm-4.0
checking for references to /build in /nix/store/hfxq5p84xi6m8lhl0d92jgp5hmvdgl5s-mdadm-4.0...
moving /nix/store/hfxq5p84xi6m8lhl0d92jgp5hmvdgl5s-mdadm-4.0/sbin/* to /nix/store/hfxq5p84xi6m8lhl0d92jgp5hmvdgl5s-mdadm-4.0/bin
/nix/store/hfxq5p84xi6m8lhl0d92jgp5hmvdgl5s-mdadm-4.0
/nix/store/qwd5xz5k043v5v11xm90zjkmpsnphj3v-opensmtpd-6.4.0p1

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: mdadm, opensmtpd

Partial log (click to expand)

shrinking /nix/store/0hdyyqclpm1lr922klq2m7szxs8pg8m8-mdadm-4.0/sbin/mdmon
shrinking /nix/store/0hdyyqclpm1lr922klq2m7szxs8pg8m8-mdadm-4.0/sbin/mdadm
gzipping man pages under /nix/store/0hdyyqclpm1lr922klq2m7szxs8pg8m8-mdadm-4.0/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/0hdyyqclpm1lr922klq2m7szxs8pg8m8-mdadm-4.0/lib  /nix/store/0hdyyqclpm1lr922klq2m7szxs8pg8m8-mdadm-4.0/sbin
patching script interpreter paths in /nix/store/0hdyyqclpm1lr922klq2m7szxs8pg8m8-mdadm-4.0
checking for references to /build in /nix/store/0hdyyqclpm1lr922klq2m7szxs8pg8m8-mdadm-4.0...
moving /nix/store/0hdyyqclpm1lr922klq2m7szxs8pg8m8-mdadm-4.0/sbin/* to /nix/store/0hdyyqclpm1lr922klq2m7szxs8pg8m8-mdadm-4.0/bin
/nix/store/0hdyyqclpm1lr922klq2m7szxs8pg8m8-mdadm-4.0
/nix/store/ihdq6cklcsdnkac9x6ly2y5r8bir707a-opensmtpd-6.4.0p1

@Ekleog Ekleog changed the base branch from staging to master October 28, 2018 10:10
@GrahamcOfBorg GrahamcOfBorg added the 2.status: merge conflict This PR has merge conflicts with the target branch label Oct 28, 2018
@Ekleog Ekleog mentioned this pull request Oct 29, 2018
9 tasks
@GrahamcOfBorg GrahamcOfBorg removed 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 2.status: merge conflict This PR has merge conflicts with the target branch labels Dec 1, 2018
@Ekleog Ekleog merged commit b074a40 into NixOS:master Dec 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants