multipath-tools: deprecate systemd-udev-settle.service

The systemd service manifest provided with the multipath-tools source
makes reference to the systemd-udev-settle.service, and this in turn
triggers deprecation warnings on startup. This patch removes these
references to silence these warnings.

Changed files
+3 -1
pkgs
os-specific
linux
multipath-tools
+3 -1
pkgs/os-specific/linux/multipath-tools/default.nix
···
substituteInPlace libmultipath/Makefile \
--replace /usr/include/libdevmapper.h ${lib.getDev lvm2}/include/libdevmapper.h
+
# systemd-udev-settle.service is deprecated.
substituteInPlace multipathd/multipathd.service \
--replace /sbin/modprobe ${lib.getBin kmod}/sbin/modprobe \
-
--replace /sbin/multipathd "$out/bin/multipathd"
+
--replace /sbin/multipathd "$out/bin/multipathd" \
+
--replace " systemd-udev-settle.service" ""
sed -i -re '
s,^( *#define +DEFAULT_MULTIPATHDIR\>).*,\1 "'"$out/lib/multipath"'",