[arch-commits] Commit in linux-grsec/trunk (PKGBUILD config config.x86_64)

Daniel Micay thestinger at archlinux.org
Tue Mar 10 17:02:28 UTC 2015


    Date: Tuesday, March 10, 2015 @ 18:02:28
  Author: thestinger
Revision: 129021

modernize module compression

Modified:
  linux-grsec/trunk/PKGBUILD
  linux-grsec/trunk/config
  linux-grsec/trunk/config.x86_64

---------------+
 PKGBUILD      |    6 ++----
 config        |    4 +++-
 config.x86_64 |    4 +++-
 3 files changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-10 16:23:45 UTC (rev 129020)
+++ PKGBUILD	2015-03-10 17:02:28 UTC (rev 129021)
@@ -36,8 +36,8 @@
             'SKIP'
             'a2bb4b8b13054cc3b37300bfc6277d18e00a45318b1b4173bbc81f81b6f99929'
             'SKIP'
-            'ef622b478483a26357fef6a1b32a1681cbbc07af5e780dab9138fe643e01e2e5'
-            'd4b167b2aa3a76d88cedfe712ac36b30508088881a562d962a8b48a872c81502'
+            '050cfa581d5fc5bd6461873018a84aedf02483b73d1729af70efe4a44e5ed91c'
+            'c5b34dd598b34e9bc20b7e6dc874bed5b3510915401870495646529076e1b4a9'
             'ca7e718375b3790888756cc0a64a7500cd57dddb9bf7e10a0df22c860d91f74d'
             '1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99')
 validpgpkeys=(
@@ -151,8 +151,6 @@
   rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}
   # remove the firmware
   rm -rf "${pkgdir}/lib/firmware"
-  # gzip -9 all modules to save 100MB of space
-  find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
   # make room for external modules
   ln -s "../extramodules-${_basekernel}${_kernelname:--ARCH}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
   # add real version for building modules and running depmod from post_install/upgrade

Modified: config
===================================================================
--- config	2015-03-10 16:23:45 UTC (rev 129020)
+++ config	2015-03-10 17:02:28 UTC (rev 129021)
@@ -284,7 +284,9 @@
 CONFIG_MODVERSIONS=y
 # CONFIG_MODULE_SRCVERSION_ALL is not set
 # CONFIG_MODULE_SIG is not set
-# CONFIG_MODULE_COMPRESS is not set
+CONFIG_MODULE_COMPRESS=y
+CONFIG_MODULE_COMPRESS_GZIP=y
+# CONFIG_MODULE_COMPRESS_XZ is not set
 CONFIG_STOP_MACHINE=y
 CONFIG_BLOCK=y
 CONFIG_LBDAF=y

Modified: config.x86_64
===================================================================
--- config.x86_64	2015-03-10 16:23:45 UTC (rev 129020)
+++ config.x86_64	2015-03-10 17:02:28 UTC (rev 129021)
@@ -300,7 +300,9 @@
 CONFIG_MODVERSIONS=y
 # CONFIG_MODULE_SRCVERSION_ALL is not set
 # CONFIG_MODULE_SIG is not set
-# CONFIG_MODULE_COMPRESS is not set
+CONFIG_MODULE_COMPRESS=y
+CONFIG_MODULE_COMPRESS_GZIP=y
+# CONFIG_MODULE_COMPRESS_XZ is not set
 CONFIG_STOP_MACHINE=y
 CONFIG_BLOCK=y
 CONFIG_BLK_DEV_BSG=y



More information about the arch-commits mailing list