core/linux-armv7 to 3.10.0-1

This commit is contained in:
Kevin Mihelich 2013-07-10 19:52:52 +00:00
parent 798b5633e9
commit c37e7bed5d
3 changed files with 830 additions and 299 deletions

View file

@ -6,35 +6,30 @@ buildarch=4
pkgbase=linux-armv7
pkgname=('linux-armv7' 'linux-headers-armv7')
_kernelname=${pkgname#linux}
_basekernel=3.9
pkgver=${_basekernel}.4
pkgrel=3
rcnrel=x2
imxrel=imx4
_basekernel=3.10
pkgver=${_basekernel}.0
pkgrel=1
rcnrel=armv7-x2
arch=('armv7h')
url="http://www.kernel.org/"
license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git')
options=('!strip')
source=("http://www.kernel.org/pub/linux/kernel/v3.0/linux-${_basekernel}.tar.xz"
"ftp://ftp.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.bz2"
"http://rcn-ee.net/deb/sid-armhf/v${pkgver}-${rcnrel}/patch-${pkgver}-${rcnrel}.diff.gz"
"http://rcn-ee.net/deb/sid-armhf/v${pkgver}-${imxrel}/patch-${pkgver}-${imxrel}.diff.gz"
# "ftp://ftp.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.bz2"
"http://rcn-ee.net/deb/sid-armhf/v${pkgver}-${rcnrel}/patch-${_basekernel}-${rcnrel}.diff.gz"
'config'
"aufs3-${_basekernel}.patch.xz"
# "aufs3-${_basekernel}.patch.xz"
'change-default-console-loglevel.patch')
md5sums=('4348c9b6b2eb3144d601e87c19d5d909'
'c0f20f2c33265b128610d735cb344e9a'
'7dfb44bde9bb8b4522d20569597bfbb3'
'75f860af620b9a9980dfd2462e2393de'
'eac2fc50669536777ff385c9dd4c1e51'
'30ed1ba9b6c391e371d022fbcf79f7ed'
md5sums=('4f25cd5bec5f8d5a7d935b3f2ccb8481'
'eaedc9c5a74ffe4103cf84cc59206267'
'3fff3cb4520c85c1c88aa6e57e6c6752'
'9d3c56a4b999c8bfbd4018089a62f662')
build() {
cd "${srcdir}/linux-${_basekernel}"
patch -p1 -i "${srcdir}/patch-${pkgver}"
# patch -p1 -i "${srcdir}/patch-${pkgver}"
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
@ -45,9 +40,8 @@ build() {
patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch"
# ALARM patches
git apply "${srcdir}/patch-${pkgver}-${rcnrel}.diff"
patch -p1 -i "${srcdir}/patch-${pkgver}-${imxrel}.diff" | true # fails patching some debian file
patch -Np1 -i "${srcdir}/aufs3-${_basekernel}.patch"
git apply "${srcdir}/patch-${_basekernel}-${rcnrel}.diff"
# patch -Np1 -i "${srcdir}/aufs3-${_basekernel}.patch"
cat "${srcdir}/config" > ./.config
@ -86,6 +80,7 @@ build() {
package_linux-armv7() {
pkgdesc="The Linux Kernel and modules - ARMv7 processors"
groups=('base')
depends=('coreutils' 'linux-firmware' 'module-init-tools>=3.16' 'mkinitcpio>=0.7')
optdepends=('crda: to set the correct wireless channels of your country')
provides=('kernel26' 'kernel26-omap' 'linux=${pkgver}' 'aufs_friendly')

Binary file not shown.

File diff suppressed because it is too large Load diff