multipath-tools: no format hardening

This commit is contained in:
Robin Gloster 2016-01-26 17:34:17 +00:00
parent 73f4c2bdf8
commit 1581f25a07

View file

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "1yd6l1l1c62xjr1xnij2x49kr416anbgfs4y06r86kp9hkmz2g7i";
};
hardening_format = false;
postPatch = ''
sed -i -re '
s,^( *#define +DEFAULT_MULTIPATHDIR\>).*,\1 "'"$out/lib/multipath"'",