summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Fan2016-11-18 11:36:39 +0800
committerGeorge Fan2016-11-18 11:36:39 +0800
commitca7e058ae24b1b8f4a494c1b90b305f7cbc5082f (patch)
tree76564f9cd826b92333ceb98d4e40927a37a343b1
parentef86c5125fca6655473fa9f37196d8c223c04f95 (diff)
downloadaur-ca7e058ae24b1b8f4a494c1b90b305f7cbc5082f.tar.gz
Bump to 4.8.8-2
-rw-r--r--.SRCINFO12
-rw-r--r--80-linux.hook11
-rw-r--r--PKGBUILD12
-rw-r--r--linux.install4
4 files changed, 27 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ff48e47df6dc..962f9f2e3b6e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-userns
- pkgver = 4.8.7
- pkgrel = 1
+ pkgver = 4.8.8
+ pkgrel = 2
url = http://www.kernel.org/
arch = i686
arch = x86_64
@@ -14,10 +14,11 @@ pkgbase = linux-userns
options = !strip
source = https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.8.tar.xz
source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.8.tar.sign
- source = https://cdn.kernel.org/pub/linux/kernel/v4.x/patch-4.8.7.xz
- source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.8.7.sign
+ source = https://cdn.kernel.org/pub/linux/kernel/v4.x/patch-4.8.8.xz
+ source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.8.8.sign
source = config
source = config.x86_64
+ source = 80-linux.hook
source = linux.preset
source = ubuntu-unprivileged-overlayfs.patch
source = change-default-console-loglevel.patch
@@ -25,10 +26,11 @@ pkgbase = linux-userns
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
sha256sums = 3e9150065f193d3d94bcf46a1fe9f033c7ef7122ab71d75a7fb5a2f0c9a7e11a
sha256sums = SKIP
- sha256sums = 94213e7557d192d1054e352aec18e93275ed5a84abe190d43fd43847d1d86efe
+ sha256sums = 588b6537cb660c2f7d483aca13f7509a5fc86c60df32c167d40e81d6c7ab4f9c
sha256sums = SKIP
sha256sums = 2ac8818414beb7dbacbd3ad450c516e6ada804827132a7132f63b8189e5f5151
sha256sums = 93a4ad4f6c7bb9296fddec436ed7477a5a5c11cf4d6e68482fa6610442cbcb1f
+ sha256sums = 2d4424928ae3c5f63ee618b4685580f4bd24faf1778553dbd961f85a88ea0910
sha256sums = f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c
sha256sums = 01a6d59a55df1040127ced0412f44313b65356e3c680980210593ee43f2495aa
sha256sums = 1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99
diff --git a/80-linux.hook b/80-linux.hook
new file mode 100644
index 000000000000..a32248e25375
--- /dev/null
+++ b/80-linux.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = boot/vmlinuz-linux
+Target = usr/lib/initcpio/*
+
+[Action]
+Description = Updating Arch Linux initramfs image
+When = PostTransaction
+Exec = /usr/bin/mkinitcpio -p linux
diff --git a/PKGBUILD b/PKGBUILD
index 3be47d8df896..ec6c45356b63 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@
pkgbase=linux-userns
_srcname=linux-4.8
-pkgver=4.8.7
-pkgrel=1
+pkgver=4.8.8
+pkgrel=2
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
license=('GPL2')
@@ -18,6 +18,8 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
"https://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.sign"
# the main kernel config files
'config' 'config.x86_64'
+ # pacman hook for initramfs regeneration
+ '80-linux.hook'
# standard config files for mkinitcpio ramdisk
'linux.preset'
'ubuntu-unprivileged-overlayfs.patch'
@@ -26,10 +28,11 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
sha256sums=('3e9150065f193d3d94bcf46a1fe9f033c7ef7122ab71d75a7fb5a2f0c9a7e11a'
'SKIP'
- '94213e7557d192d1054e352aec18e93275ed5a84abe190d43fd43847d1d86efe'
+ '588b6537cb660c2f7d483aca13f7509a5fc86c60df32c167d40e81d6c7ab4f9c'
'SKIP'
'2ac8818414beb7dbacbd3ad450c516e6ada804827132a7132f63b8189e5f5151'
'93a4ad4f6c7bb9296fddec436ed7477a5a5c11cf4d6e68482fa6610442cbcb1f'
+ '2d4424928ae3c5f63ee618b4685580f4bd24faf1778553dbd961f85a88ea0910'
'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c'
'01a6d59a55df1040127ced0412f44313b65356e3c680980210593ee43f2495aa'
'1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99')
@@ -136,6 +139,9 @@ _package() {
-e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgbase}-fallback.img\"|" \
-i "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
+ # install pacman hook for initramfs regeneration
+ install -D -m644 "${srcdir}/80-linux.hook" "${pkgdir}/usr/share/libalpm/hooks/80-linux.hook"
+
# remove build and source links
rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}
# remove the firmware
diff --git a/linux.install b/linux.install
index dd2fa5c7aac5..15dc8b6bf50d 100644
--- a/linux.install
+++ b/linux.install
@@ -8,8 +8,6 @@ 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}
}
post_upgrade() {
@@ -20,8 +18,6 @@ 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}
if [ $(vercmp $2 3.13) -lt 0 ]; then
echo ">>> WARNING: AT keyboard support is no longer built into the kernel."