Browse Source

remove module compression, kernel script does that

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 2 years ago
parent
commit
19bebb0ef8
  1. 2
      SPECS/kernel-5.15.spec

2
SPECS/kernel-5.15.spec

@ -678,7 +678,7 @@ popd > /dev/null @@ -678,7 +678,7 @@ popd > /dev/null
# try to compress the module
%define __spec_install_post \
find $RPM_BUILD_ROOT/lib/modules/ -type f -name '*.ko' -exec strip --strip-unneeded {} +; \
find $RPM_BUILD_ROOT/lib/modules/ -type f -name '*.ko' | xargs xz -9 -e -T0
#find $RPM_BUILD_ROOT/lib/modules/ -type f -name '*.ko' | xargs xz -9 -e -T0
# replaced by .config settings

%clean

Loading…
Cancel
Save