From 6cb68699be137a0a7ae86a8ee249620f39b10ff8 Mon Sep 17 00:00:00 2001 From: clayton craft Date: Sat, 29 Jul 2017 14:52:01 -0700 Subject: [PATCH] Update to Linux Kernel 4.12.4 (#285) This updates the linux-postmarketos kernel to 4.12.4, and fixes an issue where the APKBUILD was pulling down the 4.12 source but not the 4.12.x patches. I think that pulling down the major.minor source and a sep. package for patches to update to the major.minor.minor(er?) release adds unnecessary complexity since kernel.org already hosts the sources with these patches applied (e.g. in this case the 4.12.4 source) --- aports/main/linux-postmarketos/APKBUILD | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/aports/main/linux-postmarketos/APKBUILD b/aports/main/linux-postmarketos/APKBUILD index 495b0fe5..41f7997c 100644 --- a/aports/main/linux-postmarketos/APKBUILD +++ b/aports/main/linux-postmarketos/APKBUILD @@ -13,12 +13,9 @@ _config="config-${_flavor}.${CARCH}" pkgname=linux-${_flavor} -pkgver=4.12.3 -case $pkgver in - *.*.*) _kernver=${pkgver%.*};; - *.*) _kernver=$pkgver;; -esac -pkgrel=2 +pkgver=4.12.4 +_kernver=${pkgver} +pkgrel=1 arch="all" pkgdesc="Mainline Linux for pmOS supported chipsets (OMAP)" @@ -177,6 +174,6 @@ dev() { "$subpkgdir"/lib/modules/${_abi_release}/build } -sha512sums="8e81b41b253e63233e92948941f44c6482acb52aa3a3fd172f03a38a86f2c35b2ad4fd407acd1bc3964673eba344fe104d3a03e3ff4bf9cd1f22bd44263bd728 linux-4.12.tar.xz +sha512sums="beb3c7644f12925301aedcc0cfc347cd086ce0486d3a4fe5a59fd4e00452c5495cec1eb7a294b83bd0d4a55238077d0b3766824b70e92e9b211b3f3146b6cc68 linux-4.12.4.tar.xz 3f4435ce0cf227e4ba64aa7153c913370c53069e34a376e453786d601b5a73706a3f44b002fab1b10a72dc94e896c1d8fb462c2b78e62ed69c468d98aa7220da config-postmarketos.armhf c2bdaf8885dab4c3d3f96d856179138fed2d33cadcb9b33997238c8395a13eb8cb2b35f5f887339c5b47b34c8aa1bcd121059987601c1908103b66c23da478f0 config-postmarketos.x86_64"