[arch-commits] Commit in deepin-anything-arch/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Jun 7 13:45:01 UTC 2020


    Date: Sunday, June 7, 2020 @ 13:45:00
  Author: heftig
Revision: 640053

strip post-install

Modified:
  deepin-anything-arch/trunk/PKGBUILD

----------+
 PKGBUILD |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-07 13:44:32 UTC (rev 640052)
+++ PKGBUILD	2020-06-07 13:45:00 UTC (rev 640053)
@@ -30,7 +30,7 @@
 
   cd deepin-anything-$pkgver
   local extradir=/usr/lib/modules/$(</usr/src/linux/version)/extramodules
-  strip --strip-debug kernelmod/*.ko
   install -Dt "$pkgdir$extradir" -m644 kernelmod/*.ko
+  find "$pkgdir" -name '*.ko' -exec strip --strip-debug {} +
   find "$pkgdir" -name '*.ko' -exec xz {} +
 }



More information about the arch-commits mailing list