zfs: add docs why we strip symbols manual
This commit is contained in:
parent
ea31b79541
commit
54bf57aa1b
@ -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