Skip to content
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

multipath-tools: 0.6.2 -> 0.8.1 (cont. https://github.com/NixOS/nixpkgs/pull/61824) #61828

Closed
wants to merge 2 commits into from

Conversation

vlaci
Copy link
Contributor

@vlaci vlaci commented May 21, 2019

Depends on #61824. I am not sure if this PR would be mergaable as is so I have split in two.

Motivation for this change

Also fixing library detection in Makefile. In the previous and the current
version /usr/include was hardcoded in Makefile. I have tested that all
optional features are found during build. Excerpt from build output:

Checking for dm_task_no_flush in /nix/store/d2x72ihg707mdjvbjz3n4s9v02syr86y-lvm2-2.03.01/include/libdevmapper.h ... yes
Checking for dm_task_set_cookie in /nix/store/d2x72ihg707mdjvbjz3n4s9v02syr86y-lvm2-2.03.01/include/libdevmapper.h ... yes
Checking for udev_monitor_set_receive_buffer_size in /nix/store/jvm37ymza8h2l74p0j0l3hxwwsnrha1l-systemd-239.20190219-dev/include/libudev.h ... yes
Checking for dm_task_deferred_remove in /nix/store/d2x72ihg707mdjvbjz3n4s9v02syr86y-lvm2-2.03.01/include/libdevmapper.h ... yes
Checking if /nix/store/rz560c4bc3czwzzlli1z2az7hxp8axlh-linux-headers-4.19.16/include/linux/nvme_ioctl.h exists ... yes
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 nix-review --run "nix-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)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

László Vaskó added 2 commits May 26, 2019 09:56
NOTES:
 - `DEFAULT_MULTIPATHDIR` is set via adjusted make variables.
 - `DESTDIR` to `prefix` doesn't do anything so it was dropped. In
   previous versions there were some entries where it matched. E.g. in
   0.5.0 it updated `kpartx/Makefile` with:

    -       $(INSTALL_PROGRAM) -d $(DESTDIR)/etc/udev/rules.d
    -       $(INSTALL_PROGRAM) -m 644 kpartx.rules $(DESTDIR)/etc/udev/rules.d/
    +       $(INSTALL_PROGRAM) -d $(prefix)/etc/udev/rules.d
    +       $(INSTALL_PROGRAM) -m 644 kpartx.rules $(prefix)/etc/udev/rules.d/

   This is no longer needed as udev rules are correctly placed in recent
   versions.
 - Updating `GZIP` variable never worked as the pattern doesn't match
   because there are multiple spaces before the equal sign in
   `Makefile.vars`. This was dropped.
Also fixing library detection in Makefile. In the previous and the current
version `/usr/include` was hardcoded in Makefile. I have tested that all
optional features are found during build. Excerpt from build output:

    Checking for dm_task_no_flush in /nix/store/d2x72ihg707mdjvbjz3n4s9v02syr86y-lvm2-2.03.01/include/libdevmapper.h ... yes
    Checking for dm_task_set_cookie in /nix/store/d2x72ihg707mdjvbjz3n4s9v02syr86y-lvm2-2.03.01/include/libdevmapper.h ... yes
    Checking for udev_monitor_set_receive_buffer_size in /nix/store/jvm37ymza8h2l74p0j0l3hxwwsnrha1l-systemd-239.20190219-dev/include/libudev.h ... yes
    Checking for dm_task_deferred_remove in /nix/store/d2x72ihg707mdjvbjz3n4s9v02syr86y-lvm2-2.03.01/include/libdevmapper.h ... yes
    Checking if /nix/store/rz560c4bc3czwzzlli1z2az7hxp8axlh-linux-headers-4.19.16/include/linux/nvme_ioctl.h exists ... yes
@eyJhb
Copy link
Member

eyJhb commented Sep 23, 2019

@vlaci Is this PR still relevant? Newest version of multipath-tools in master is 0.8.2. :)

@Mic92 Mic92 closed this Sep 23, 2019
@vlaci
Copy link
Contributor Author

vlaci commented Sep 24, 2019

No, it already has been integrated somehow ;)

@vlaci vlaci deleted the multipath-tools-2 branch July 31, 2022 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants