lvm2: don't embed ./configure line in lvm2 binary
This commit is contained in:
parent
198d1e6f5c
commit
df67459b89
@ -49,6 +49,11 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace libdm/make.tmpl.in --replace "@systemdsystemunitdir@" "$out/lib/systemd/system"
|
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 [
|
patches = stdenv.lib.optionals stdenv.hostPlatform.isMusl [
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "fix-stdio-usage.patch";
|
name = "fix-stdio-usage.patch";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user