mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-21 04:42:07 +03:00
Merge pull request #142059 from Mic92/zfs
zfs: add docs why we strip symbols manual
This commit is contained in:
commit
2be56f0d37
@ -140,6 +140,9 @@ let
|
||||
"INSTALL_MOD_PATH=\${out}"
|
||||
];
|
||||
|
||||
# Enabling BTF causes zfs to be build with debug symbols.
|
||||
# Since zfs compress kernel modules on installation, our strip hooks skip stripping them.
|
||||
# Hence we strip modules prior to compression.
|
||||
postBuild = optionalString buildKernel ''
|
||||
find . -name "*.ko" -print0 | xargs -0 -P$NIX_BUILD_CORES strip --strip-debug
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user