summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraysky2016-11-17 12:37:46 -0500
committergraysky2016-11-17 12:37:46 -0500
commitcd4fa820e1dda56a3ddabc9afabdf116a262d048 (patch)
tree751be7020912e575b7d3bbeffb3a76b4be5aca30
parent7d1542b2d804babc7a73be2af7de737b53b81dad (diff)
downloadaur-cd4fa820e1dda56a3ddabc9afabdf116a262d048.tar.gz
Update to 4.8.9rc1-2
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
-rw-r--r--linux.install18
-rw-r--r--linux.preset6
4 files changed, 15 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bbc6b61fd028..e82e382accf4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Thu Nov 17 17:00:12 UTC 2016
+# Thu Nov 17 17:37:46 UTC 2016
pkgbase = linux-rc
pkgver = 4.8.9rc1
- pkgrel = 1
+ pkgrel = 2
url = http://www.kernel.org/
arch = i686
arch = x86_64
@@ -31,7 +31,7 @@ pkgbase = linux-rc
sha256sums = 2ac8818414beb7dbacbd3ad450c516e6ada804827132a7132f63b8189e5f5151
sha256sums = 93a4ad4f6c7bb9296fddec436ed7477a5a5c11cf4d6e68482fa6610442cbcb1f
sha256sums = 834bd254b56ab71d73f59b3221f056c72f559553c04718e350ab2a3e2991afe0
- sha256sums = f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c
+ sha256sums = a8cae3381e5669a70e20e36562d7433f61b13d24ad8c688cf6c398d5128e2c02
sha256sums = 1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99
pkgname = linux-rc
diff --git a/PKGBUILD b/PKGBUILD
index 922e7e645846..9e625f7bdd1a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ _stable=4.8.8
_patchver=4.8.9
pkgver=${_patchver}rc1
_rcpatch=patch-${_patchver}-rc1
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
license=('GPL2')
@@ -20,14 +20,14 @@ source=("https://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
"https://www.kernel.org/pub/linux/kernel/v4.x/patch-${_stable}.sign"
"https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/$_rcpatch.xz"
"https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/$_rcpatch.sign"
-
# the main kernel config files
'config' 'config.x86_64'
# pacman hook for initramfs regeneration
'99-linux.hook'
# standard config files for mkinitcpio ramdisk
'linux.preset'
- 'change-default-console-loglevel.patch')
+ 'change-default-console-loglevel.patch'
+ )
sha256sums=('3e9150065f193d3d94bcf46a1fe9f033c7ef7122ab71d75a7fb5a2f0c9a7e11a'
'SKIP'
@@ -38,7 +38,7 @@ sha256sums=('3e9150065f193d3d94bcf46a1fe9f033c7ef7122ab71d75a7fb5a2f0c9a7e11a'
'2ac8818414beb7dbacbd3ad450c516e6ada804827132a7132f63b8189e5f5151'
'93a4ad4f6c7bb9296fddec436ed7477a5a5c11cf4d6e68482fa6610442cbcb1f'
'834bd254b56ab71d73f59b3221f056c72f559553c04718e350ab2a3e2991afe0'
- 'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c'
+ 'a8cae3381e5669a70e20e36562d7433f61b13d24ad8c688cf6c398d5128e2c02'
'1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99')
validpgpkeys=(
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
@@ -84,6 +84,7 @@ prepare() {
# get kernel version
make prepare
+ make localmodconfig
# load configuration
# Configure the kernel. Replace the line below with one of your choice.
diff --git a/linux.install b/linux.install
index dd2fa5c7aac5..046277584140 100644
--- a/linux.install
+++ b/linux.install
@@ -1,15 +1,7 @@
-# arg 1: the new package version
-# arg 2: the old package version
-
-KERNEL_NAME=
-KERNEL_VERSION=
-
post_install () {
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
- depmod ${KERNEL_VERSION}
- echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
- mkinitcpio -p linux${KERNEL_NAME}
+ depmod %KERNVER%
}
post_upgrade() {
@@ -19,9 +11,7 @@ post_upgrade() {
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
- depmod ${KERNEL_VERSION}
- echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
- mkinitcpio -p linux${KERNEL_NAME}
+ depmod %KERNVER%
if [ $(vercmp $2 3.13) -lt 0 ]; then
echo ">>> WARNING: AT keyboard support is no longer built into the kernel."
@@ -32,6 +22,6 @@ post_upgrade() {
post_remove() {
# also remove the compat symlinks
- rm -f boot/initramfs-linux${KERNEL_NAME}.img
- rm -f boot/initramfs-linux${KERNEL_NAME}-fallback.img
+ rm -f boot/initramfs-%PKGBASE%.img
+ rm -f boot/initramfs-%PKGBASE%-fallback.img
}
diff --git a/linux.preset b/linux.preset
index b06292d104ef..09e7952251e4 100644
--- a/linux.preset
+++ b/linux.preset
@@ -1,14 +1,14 @@
# mkinitcpio preset file for the 'linux' package
ALL_config="/etc/mkinitcpio.conf"
-ALL_kver="/boot/vmlinuz-linux"
+ALL_kver="/boot/vmlinuz-%PKGBASE%"
PRESETS=('default' 'fallback')
#default_config="/etc/mkinitcpio.conf"
-default_image="/boot/initramfs-linux.img"
+default_image="/boot/initramfs-%PKGBASE%.img"
#default_options=""
#fallback_config="/etc/mkinitcpio.conf"
-fallback_image="/boot/initramfs-linux-fallback.img"
+fallback_image="/boot/initramfs-%PKGBASE%-fallback.img"
fallback_options="-S autodetect"