Commit 6ad1dbd2 authored by Chaoting Liu's avatar Chaoting Liu

linux: update to 3.10.6

parent f7ad9b78
......@@ -4,7 +4,7 @@ source ../linux.conf
pkgname=acpi_call
_pkgname=acpi_call
pkgver=1.1.0
pkgrel=35
pkgrel=36
pkgdesc="A kernel module that enables you to call parameterless ACPI methods by writing the method name to /proc/acpi/call, e.g. to turn off discrete graphics card in a dual graphics environment (like NVIDIA Optimus)."
arch=('x86_64')
url=("http://github.com/mkottman/acpi_call")
......
post_install() {
EXTRAMODULES='extramodules-4.8-CHAKRA'
EXTRAMODULES='extramodules-4.10-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version)
echo ""
echo "[+] modprobe acpi_call"
......@@ -12,7 +12,7 @@ post_upgrade() {
}
post_remove() {
EXTRAMODULES='extramodules-4.8-CHAKRA'
EXTRAMODULES='extramodules-4.10-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version)
}
......
......@@ -3,7 +3,7 @@ source ../linux.conf
pkgname=bbswitch
pkgver=0.8
pkgrel=29
pkgrel=30
pkgdesc="kernel module allowing to switch dedicated graphics card on Optimus laptops"
arch=('x86_64')
url=("http://github.com/Bumblebee-Project/bbswitch")
......
post_install() {
EXTRAMODULES='extramodules-4.8-CHAKRA'
EXTRAMODULES='extramodules-4.10-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version)
echo 'In order to use nvidia module, reboot the system.'
}
post_upgrade() {
EXTRAMODULES='extramodules-4.8-CHAKRA'
EXTRAMODULES='extramodules-4.10-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version)
}
post_remove() {
EXTRAMODULES='extramodules-4.8-CHAKRA'
EXTRAMODULES='extramodules-4.10-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version)
}
......@@ -3,7 +3,7 @@ source ../linux.conf
pkgname=broadcom-wl
pkgver=6.30.223.271
pkgrel=11
pkgrel=12
pkgdesc='Broadcom 802.11abgn hybrid Linux networking device driver'
url='http://www.broadcom.com/support/802.11/linux_sta.php'
arch=('x86_64')
......
......@@ -2,7 +2,7 @@
# kernel.
pkgname=btrfs-progs
pkgver=4.8.5
pkgver=4.10.1
pkgrel=1
pkgdesc='Btrfs filesystem utilities'
arch=('x86_64')
......@@ -18,7 +18,7 @@ source=("https://github.com/kdave/${pkgname}/archive/v${pkgver}.tar.gz"
'initcpio-hook-btrfs'
'btrfs-scrub@.service'
'btrfs-scrub@.timer')
md5sums=('2ef6510400d2f25a13547afc10c1c9d7'
md5sums=('0ee1e799b78f8b141328947684442278'
'7241ba3a4286d08da0d50b7176941112'
'b09688a915a0ec8f40e2f5aacbabc9ad'
'794b867e09451284c545bae112aa0cfd'
......@@ -28,19 +28,19 @@ install=btrfs-progs.install
options=(!staticlibs)
build() {
cd $pkgname
cd $pkgname-$pkgver
./autogen.sh
./configure --prefix=/usr
make
}
check() {
cd $pkgname
cd $pkgname-$pkgver
./btrfs filesystem show
}
package() {
cd $pkgname
cd $pkgname-$pkgver
make DESTDIR=${pkgdir} prefix=/usr install
......
......@@ -2,19 +2,20 @@
# Contributor: Felix Yan <felixonmars@archlinux.org>
pkgname=libglvnd
pkgver=0.1.0.20160411
_commit=5a69af6f77dd68fed4d54137c155676478dcccc3
pkgver=0.2.999+g4ba53457
_commit=4ba5345742d6c98b528ac28fb7127006d2cc3f75
pkgrel=1
pkgdesc="The GL Vendor-Neutral Dispatch library"
arch=('x86_64')
url="https://github.com/NVIDIA/libglvnd"
license=('custom:BSD-like')
depends=('libxext')
makedepends=('xorg-server-devel' 'git' 'python2')
depends=('libxext' 'mesa')
makedepends=('libx11' 'glproto' 'git' 'python2')
provides=('libgl')
source=("git+https://github.com/NVIDIA/libglvnd.git#commit=$_commit"
LICENSE)
sha1sums=('SKIP'
'c88e07f333fcf8dcdbef370b85372b4d88ad8a66')
sha256sums=('SKIP'
'1a99f7487849c41fc3520e0af3dfcf28a0df05e78956d9ec58c2c52b1f20a77d')
build() {
cd $pkgname
......@@ -24,15 +25,10 @@ build() {
}
package() {
# libglvnd needs mesa for indirect rendering
depends=('libxext' 'mesa' 'opengl-driver')
cd $pkgname
make DESTDIR="${pkgdir}" install
# For compatibility with older nvidia drivers for bumblebee
# Symlinks to /usr/lib will be in nvidia-libgl
mkdir "$pkgdir/usr/lib/nvidia"
for _lib in libGL.so libGLESv1_CM.so libGLESv2.so; do
mv "$pkgdir"/usr/lib/$_lib* "$pkgdir"/usr/lib/nvidia/
done
install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
......@@ -13,9 +13,9 @@ source=(http://www.kernel.org/pub/linux/kernel/v4.x/linux-${_basekernel}.tar.xz
http://www.kernel.org/pub/linux/kernel/v4.x/linux-${_basekernel}.tar.sign
http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz
http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.sign)
md5sums=('c1af0afbd3df35c1ccdc7a5118cd2d07'
md5sums=('b5e7f6b9b2fe1b6cc7bc56a3a0bfc090'
'SKIP'
'666753363fd69ac2c1a94f4349a7197e'
'76eea4444f5c91b5d243258ae60d51fa'
'SKIP')
validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
'647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman
......
......@@ -4,9 +4,10 @@
pkgname=linux-firmware
# Commit date + git rev-parse --short origin/master
_rev=9c71af9
pkgver=20161005.${_rev}
_b43=5.100.138
_rev=695f2d6d82173f4e322d8f834c9849775778022a
pkgver=20170309.695f2d6
_b43=6.30.163.46
_classic=5.100.138
_legacy=3.130.20.0
pkgrel=1
pkgdesc="Firmware files for Linux"
......@@ -14,7 +15,7 @@ makedepends=('b43-fwcutter' 'git')
arch=('any')
url="http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary"
license=('GPL2' 'GPL3' 'custom')
provides=('kernel26-firmware=3.1.99' 'linux-firmware=3.1.99' 'amd-ucode')
provides=("b43-firmware"{,-{legacy,classic}}'amd-ucode')
conflicts=('linux-firmware-git'
'kernel26-firmware'
'ar9170-fw'
......@@ -48,12 +49,20 @@ replaces=('kernel26-firmware'
'amd-ucode')
options=(!strip)
source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git#commit=${_rev}"
"http://mirror2.openwrt.org/sources/broadcom-wl-${_b43}.tar.bz2"
"http://www.lwfinger.com/b43-firmware/"broadcom-wl-{$_b43,$_classic}.tar.bz2
"http://downloads.openwrt.org/sources/wl_apsta-${_legacy}.o")
sha256sums=('SKIP'
'a07c3b6b277833c7dbe61daa511f908cd66c5e2763eb7a0859abc36cd9335c2d'
'f1e7067aac5b62b67b8b6e4c517990277804339ac16065eb13c731ff909ae46f'
'7dba610b1d96dd14e901bcbce14cd6ecd1b1ac6f5c0035b0d6b6dc46a7c3ef90')
pkgver() {
cd "${srcdir}/${pkgname}"
# Commit date + short rev
echo $(TZ=UTC git show -s --pretty=%cd --date=format-local:%Y%m%d HEAD).$(git rev-parse --short HEAD)
}
package() {
cd "${srcdir}/${pkgname}"
......@@ -64,7 +73,10 @@ package() {
install -Dm644 LICEN* WHENCE "${pkgdir}/usr/share/licenses/linux-firmware/"
# install b43-firmware
b43-fwcutter -w "${pkgdir}/usr/lib/firmware/" ${srcdir}/broadcom-wl-${_b43}/linux/wl_apsta.o
b43-fwcutter -w "${pkgdir}/usr/lib/firmware/" ${srcdir}/broadcom-wl-${_b43}.wl_apsta.o
# install b43-classic-firmware
b43-fwcutter -w "${pkgdir}/usr/lib/firmware/" ${srcdir}/broadcom-wl-${_classic}/linux/wl_apsta.o
# install b43-legacy-firmware
b43-fwcutter -w "${pkgdir}/usr/lib/firmware/" ${srcdir}/wl_apsta-${_legacy}.o
......
......@@ -28,14 +28,12 @@ source=("http://www.kernel.org/pub/linux/kernel/v4.x/linux-${pkgver}.tar.xz"
'cpupower.default'
'cpupower.systemd'
'cpupower.service'
'usbipd.service'
'01-cpupower-governor-fix.patch')
md5sums=('b1f36e650857dd0d49b9a55b89d9d317'
'usbipd.service')
md5sums=('a5b0265cdb915aaf40d235224beb5b9d'
'56883c159381ba89e50ab8ea65efec77'
'7e0710c2f31c1eb1e1417a7972e676b1'
'2450e8ff41b30eb58d43b5fffbfde1f4'
'bb35634f480325a78b943f7e10165e86'
'33c871519adfd4e5575643c4579d019b')
'bb35634f480325a78b943f7e10165e86')
prepare() {
cd linux-${pkgver}
......
......@@ -6,8 +6,8 @@
# These are the "basic variables" appliable for the normal kernel group
_kernelname="-CHAKRA"
_kernelver=4.8.6
_basekernel=4.8
_kernelver=4.10.6
_basekernel=4.10
_extramodules=extramodules-${_basekernel}${_kernelname}
_kver="$(cat /lib/modules/${_extramodules}/version)"
......
......@@ -16,15 +16,13 @@ source=(http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.{xz,sign}
# the main kernel config files
config.x86_64
# standard config files for mkinitcpio ramdisk
linux.preset
change-default-console-loglevel.patch)
sha256sums=('3e9150065f193d3d94bcf46a1fe9f033c7ef7122ab71d75a7fb5a2f0c9a7e11a'
linux.preset)
sha256sums=('3c95d9f049bd085e5c346d2c77f063b8425f191460fcd3ae9fe7e94e0477dc4b'
'SKIP'
'3ac0ea443ac8a7aa40f8d5ce8ec33b84abbad4dbfc567c7699df728c2c21df37'
'99ecfe76c427aeebfb0f02fe130264db1d22c87e3f7efd34a231fe6d5c50d75d'
'SKIP'
'84edac339a8904fccfea2de11dee64febc828841d7543bd0d30385078227c5c2'
'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c'
'1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99')
'12a87284e2935cd17e2846a207cc76f1728531416523735d66ef8a0ae690884c'
'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c')
validpgpkeys=(
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
......@@ -36,17 +34,11 @@ prepare() {
# add upstream patch
msg "adding upstream patch"
patch -p1 -i "${srcdir}/patch-${pkgver}"
msg "patch"
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
# remove this when a Kconfig knob is made available by upstream
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
msg "changing default console loglevel"
patch -p1 -i "${srcdir}/change-default-console-loglevel.patch"
cat "${srcdir}/config.x86_64" > ./.config
if [ "${_kernelname}" != "" ]; then
......
This diff is collapsed.
This diff is collapsed.
# arg 1: the new package version
# arg 2: the old package version
KERNEL_NAME=
KERNEL_VERSION=4.8.4-1-CHAKRA
KERNEL_NAME=-CHAKRA
KERNEL_VERSION=4.10.6-1-CHAKRA
# set a sane PATH to ensure that critical utils like depmod will be found
export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
......
......@@ -3,7 +3,7 @@ source ../linux.conf
pkgname=ndiswrapper
pkgver=1.61
pkgrel=1
pkgrel=2
pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For linux-testing."
license=('GPL')
arch=('x86_64')
......
......@@ -5,7 +5,7 @@ post_install()
post_upgrade()
{
EXTRAMODULES='extramodules-4.8-CHAKRA'
EXTRAMODULES='extramodules-4.10-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version)
}
......
source ../linux.conf
pkgname=r8168
pkgver=8.043.02
pkgver=8.044.02
pkgrel=1
pkgdesc="A kernel module for Realtek 8168 network cards"
url="http://www.realtek.com.tw"
......@@ -12,7 +12,7 @@ makedepends=("linux-headers=${_kernelver}")
install=$pkgname.install
source=("https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz"
'linux-4.5.patch')
sha256sums=('ea22aa1dfda20615f5e114f982f7e61385f871f682eea0c154245760a439abc4'
sha256sums=('aad7bccc4f625c35abe0455b2a6271e9938b76b46e11b24b4f138eb5c95db6d3'
'e05a4bccf28beecc97db246064a5fe80d1303476b76086bd262c9c8db82b2e6e')
prepare(){
......
rebuild_module_dependencies() {
EXTRAMODULES='extramodules-4.8-CHAKRA'
EXTRAMODULES='extramodules-4.10-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version)
}
......
......@@ -3,7 +3,7 @@ source ../linux.conf
pkgname=vhba-module
pkgver=20161009
pkgrel=1
pkgrel=2
pkgdesc="Kernel module that emulates SCSI devices"
arch=('x86_64')
url="http://cdemu.sourceforge.net/"
......
post_install() {
EXTRAMODULES='extramodules-4.8-CHAKRA'
EXTRAMODULES='extramodules-4.10-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version)
}
......@@ -8,7 +8,7 @@ post_upgrade() {
}
post_remove() {
EXTRAMODULES='extramodules-4.8-CHAKRA'
EXTRAMODULES='extramodules-4.10-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version)
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment