4.18.16-6 (clr 4.18.16-650) XZ compress modules

This commit is contained in:
Josip Ponjavic 2018-11-03 14:46:00 +01:00
parent 398eb42a20
commit 688a2e4050
2 changed files with 11 additions and 2 deletions

View file

@ -1,6 +1,6 @@
pkgbase = linux-clear pkgbase = linux-clear
pkgver = 4.18.16 pkgver = 4.18.16
pkgrel = 5 pkgrel = 6
url = https://github.com/clearlinux-pkgs/linux url = https://github.com/clearlinux-pkgs/linux
arch = x86_64 arch = x86_64
license = GPL2 license = GPL2
@ -44,6 +44,7 @@ pkgname = linux-clear
depends = mkinitcpio>=0.7 depends = mkinitcpio>=0.7
optdepends = crda: to set the correct wireless channels of your country optdepends = crda: to set the correct wireless channels of your country
optdepends = modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig optdepends = modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig
provides = WIREGUARD-MODULE
backup = etc/mkinitcpio.d/linux-clear.preset backup = etc/mkinitcpio.d/linux-clear.preset
pkgname = linux-clear-headers pkgname = linux-clear-headers

View file

@ -68,7 +68,7 @@ _major=4.18
_minor=16 _minor=16
pkgver=${_major}.${_minor} pkgver=${_major}.${_minor}
_srcname=linux-${_major} _srcname=linux-${_major}
pkgrel=5 pkgrel=6
_clr=650 _clr=650
arch=('x86_64') arch=('x86_64')
url="https://github.com/clearlinux-pkgs/linux" url="https://github.com/clearlinux-pkgs/linux"
@ -138,6 +138,13 @@ prepare() {
msg2 "Enabling crypto_user module..." msg2 "Enabling crypto_user module..."
sed -i "s|# CONFIG_CRYPTO_USER is not set|CONFIG_CRYPTO_USER=m|g" ./.config sed -i "s|# CONFIG_CRYPTO_USER is not set|CONFIG_CRYPTO_USER=m|g" ./.config
### Compress modules
msg "Enabling XZ compressed modules..."
sed -i 's|^# CONFIG_MODULE_COMPRESS|\
CONFIG_MODULE_COMPRESS=y\
# CONFIG_MODULE_COMPRESS_GZIP is not set\
CONFIG_MODULE_COMPRESS_XZ=y|' ./.config
### Patch source to unlock additional gcc CPU optimizations ### Patch source to unlock additional gcc CPU optimizations
# https://github.com/graysky2/kernel_gcc_patch # https://github.com/graysky2/kernel_gcc_patch
if [ "${_enable_gcc_more_v}" = "y" ]; then if [ "${_enable_gcc_more_v}" = "y" ]; then
@ -185,6 +192,7 @@ _package() {
pkgdesc="Clearlinux kernel and modules" pkgdesc="Clearlinux kernel and modules"
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7') depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
optdepends=('crda: to set the correct wireless channels of your country' 'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig') optdepends=('crda: to set the correct wireless channels of your country' 'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig')
provides=('WIREGUARD-MODULE')
backup=("etc/mkinitcpio.d/${pkgbase}.preset") backup=("etc/mkinitcpio.d/${pkgbase}.preset")
install=linux.install install=linux.install