Merge pull request #93949 from andersk/multipath-tools
This commit is contained in:
commit
7bf0f7301a
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace libmultipath/Makefile --replace /usr/include/libdevmapper.h ${lvm2}/include/libdevmapper.h
|
substituteInPlace libmultipath/Makefile --replace /usr/include/libdevmapper.h ${stdenv.lib.getDev lvm2}/include/libdevmapper.h
|
||||||
sed -i -re '
|
sed -i -re '
|
||||||
s,^( *#define +DEFAULT_MULTIPATHDIR\>).*,\1 "'"$out/lib/multipath"'",
|
s,^( *#define +DEFAULT_MULTIPATHDIR\>).*,\1 "'"$out/lib/multipath"'",
|
||||||
' libmultipath/defaults.h
|
' libmultipath/defaults.h
|
||||||
|
Loading…
Reference in New Issue
Block a user