Merge pull request #146573 from SuperSandro2000/systemd-coredump-zstd

Systemd coredump zstd, enable elfutils support for stack traces in coredump
This commit is contained in:
Florian Klink 2021-11-28 23:03:19 +01:00 committed by GitHub
commit f4c450e862
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,7 @@
, gnupg
, zlib
, xz
, zstd
, tpm2-tss
, libuuid
, libapparmor
@ -47,6 +48,7 @@
, bzip2
, pcre2
, e2fsprogs
, elfutils
, linuxHeaders ? stdenv.cc.libc.linuxHeaders
, gnu-efi
, iptables
@ -67,7 +69,7 @@
, withAnalyze ? true
, withApparmor ? true
, withCompression ? true # adds bzip2, lz4 and xz
, withCompression ? true # adds bzip2, lz4, xz and zstd
, withCoredump ? true
, withCryptsetup ? true
, withDocumentation ? true
@ -372,7 +374,8 @@ stdenv.mkDerivation {
++ lib.optional withApparmor libapparmor
++ lib.optional wantCurl (lib.getDev curl)
++ lib.optionals withCompression [ bzip2 lz4 xz ]
++ lib.optionals withCompression [ bzip2 lz4 xz zstd ]
++ lib.optional withCoredump elfutils
++ lib.optional withCryptsetup (lib.getDev cryptsetup.dev)
++ lib.optional withEfi gnu-efi
++ lib.optional withKexectools kexec-tools