From fb42e0730e6be54c80456e4f14e5cd98e7be9dfe Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 30 Jul 2019 22:38:23 +0200 Subject: cleanup tweak --- kernel.spec.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel.spec.template b/kernel.spec.template index 813b95d..ecf1f3a 100644 --- a/kernel.spec.template +++ b/kernel.spec.template @@ -73,8 +73,8 @@ rm -f %{buildroot}/lib/modules/%{KNLVERS}/modules.*.bin rm -f %{buildroot}/lib/modules/%{KNLVERS}/modules.{symbols,softdep,devname,dep,alias} rm -f %{buildroot}/lib/modules/%{KNLVERS}/source rm -f %{buildroot}/lib/modules/%{KNLVERS}/build -find %{buildroot}/usr -name .install -print | xargs rm -find %{buildroot}/usr -name ..install.cmd -print | xargs rm +find %{buildroot}/usr -name .install -exec rm "{}" ";" +find %{buildroot}/usr -name ..install.cmd -exec rm "{}" ";" # strip and compress modules find %{buildroot}/lib/modules -name "*.ko" | xargs strip --strip-debug -- cgit