Merge pull request #141942 from Mic92/zfs-size
zfs: strip debug symbols (closure size)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user