From 5f281834e58d67a238278e8a5c845c74ac1a1d31 Mon Sep 17 00:00:00 2001 From: Josip Ponjavic Date: Tue, 24 Apr 2018 18:20:52 +0200 Subject: [PATCH] 4.16.4-1 (clr 4.16.3-553) enable CONFIG_ACPI_REV_OVERRIDE_POSSIBLE --- .SRCINFO | 12 ++++++------ PKGBUILD | 11 +++++++---- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 10c6b9a..ee618a2 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = linux-clear - pkgver = 4.16.3 - pkgrel = 2 + pkgver = 4.16.4 + pkgrel = 1 url = https://github.com/clearlinux-pkgs/linux arch = x86_64 license = GPL2 @@ -14,9 +14,9 @@ pkgbase = linux-clear options = !strip source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.16.tar.xz source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.16.tar.sign - source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.16.3.xz - source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.16.3.sign - source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=4.16.2-552 + source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.16.4.xz + source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.16.4.sign + source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=4.16.3-553 source = https://downloadmirror.intel.com/27591/eng/microcode-20180312.tgz source = 60-linux.hook source = 90-linux.hook @@ -26,7 +26,7 @@ pkgbase = linux-clear validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E sha256sums = 63f6dc8e3c9f3a0273d5d6f4dca38a2413ca3a5f689329d05b750e4c87bb21b9 sha256sums = SKIP - sha256sums = 336252cb15f2f2574461c1d3daabf5dc207842526085802270e1e5223f645db3 + sha256sums = bad271dbda2d024daf4a2ab6e122b95b262ea80508ac8018bc61e8aa44f40cfe sha256sums = SKIP sha256sums = SKIP sha256sums = 0b381face2df1b0a829dc4fa8fa93f47f39e11b1c9c22ebd44f8614657c1e779 diff --git a/PKGBUILD b/PKGBUILD index 5d0c8c0..b0ac47b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,10 +3,10 @@ pkgbase=linux-clear __basekernel=4.16 -_minor=3 +_minor=4 pkgver=${__basekernel}.${_minor} -_clearver=${__basekernel}.2-552 -pkgrel=2 +_clearver=${__basekernel}.3-553 +pkgrel=1 arch=('x86_64') url="https://github.com/clearlinux-pkgs/linux" license=('GPL2') @@ -30,7 +30,7 @@ validpgpkeys=( ) sha256sums=('63f6dc8e3c9f3a0273d5d6f4dca38a2413ca3a5f689329d05b750e4c87bb21b9' 'SKIP' - '336252cb15f2f2574461c1d3daabf5dc207842526085802270e1e5223f645db3' + 'bad271dbda2d024daf4a2ab6e122b95b262ea80508ac8018bc61e8aa44f40cfe' 'SKIP' 'SKIP' '0b381face2df1b0a829dc4fa8fa93f47f39e11b1c9c22ebd44f8614657c1e779' @@ -68,6 +68,9 @@ prepare() { -e "/^EXTRAVERSION =/aLOCALVERSION =" \ -i Makefile + # set ACPI_REV_OVERRIDE_POSSIBLE to prevent optimus lockup + sed -i "s|# CONFIG_ACPI_REV_OVERRIDE_POSSIBLE is not set|CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y|g" ./.config + # don't run depmod on 'make install'. We'll do this ourselves in packaging sed -i '2iexit 0' scripts/depmod.sh