lvm2: don't embed ./configure line in lvm2 binary

This commit is contained in:
Florian Klink 2020-05-24 02:25:18 +02:00
parent 198d1e6f5c
commit df67459b89

View File

@ -49,6 +49,11 @@ stdenv.mkDerivation rec {
substituteInPlace libdm/make.tmpl.in --replace "@systemdsystemunitdir@" "$out/lib/systemd/system"
'';
postConfigure = ''
sed -i 's|^#define LVM_CONFIGURE_LINE.*$|#define LVM_CONFIGURE_LINE "<removed>"|g' ./include/configure.h
'';
patches = stdenv.lib.optionals stdenv.hostPlatform.isMusl [
(fetchpatch {
name = "fix-stdio-usage.patch";