Merge pull request #141942 from Mic92/zfs-size
zfs: strip debug symbols (closure size)
This commit is contained in:
commit
091567a336
1 changed files with 4 additions and 0 deletions
|
@ -140,6 +140,10 @@ let
|
|||
"INSTALL_MOD_PATH=\${out}"
|
||||
];
|
||||
|
||||
postBuild = optionalString buildKernel ''
|
||||
find . -name "*.ko" -print0 | xargs -0 -P$NIX_BUILD_CORES strip --strip-debug
|
||||
'';
|
||||
|
||||
postInstall = optionalString buildKernel ''
|
||||
# Add reference that cannot be detected due to compressed kernel module
|
||||
mkdir -p "$out/nix-support"
|
||||
|
|
Loading…
Reference in a new issue