mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
core/linux-odroid-xu(-headless) to 3.4.91-2
This commit is contained in:
parent
d07682e6da
commit
4f75f6abcd
2 changed files with 10 additions and 2 deletions
|
@ -9,16 +9,18 @@ _srcname=linux-${_commit}
|
||||||
_kernelname=${pkgbase#linux}
|
_kernelname=${pkgbase#linux}
|
||||||
_desc="ODROID-XU (headless)"
|
_desc="ODROID-XU (headless)"
|
||||||
pkgver=3.4.91
|
pkgver=3.4.91
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
arch=('armv7h')
|
arch=('armv7h')
|
||||||
url="http://www.kernel.org/"
|
url="http://www.kernel.org/"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git')
|
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git')
|
||||||
options=('!strip')
|
options=('!strip')
|
||||||
source=("https://github.com/hardkernel/linux/archive/${_commit}.tar.gz"
|
source=("https://github.com/hardkernel/linux/archive/${_commit}.tar.gz"
|
||||||
|
'http://archlinuxarm.org/builder/src/0001-cgroup-add-xattr-support.patch'
|
||||||
'config'
|
'config'
|
||||||
'size.patch')
|
'size.patch')
|
||||||
md5sums=('56b4eef760ca55ff652eda63bb375aa1'
|
md5sums=('56b4eef760ca55ff652eda63bb375aa1'
|
||||||
|
'9f62f6e7127aa5dcdadde550c88def95'
|
||||||
'f35bff4ac84b389e0f5505b70d2e8aba'
|
'f35bff4ac84b389e0f5505b70d2e8aba'
|
||||||
'45b9fd00c7cad62dcd5782b2ba9c4d34')
|
'45b9fd00c7cad62dcd5782b2ba9c4d34')
|
||||||
|
|
||||||
|
@ -28,6 +30,8 @@ prepare() {
|
||||||
# patch to remove hardcoded 128MB addition
|
# patch to remove hardcoded 128MB addition
|
||||||
patch -Np1 -i ../size.patch
|
patch -Np1 -i ../size.patch
|
||||||
|
|
||||||
|
git apply ../0001-cgroup-add-xattr-support.patch
|
||||||
|
|
||||||
cat "${srcdir}/config" > ./.config
|
cat "${srcdir}/config" > ./.config
|
||||||
|
|
||||||
# add pkgrel to extraversion
|
# add pkgrel to extraversion
|
||||||
|
|
|
@ -9,15 +9,17 @@ _srcname=linux-${_commit}
|
||||||
_kernelname=${pkgbase#linux}
|
_kernelname=${pkgbase#linux}
|
||||||
_desc="ODROID-XU"
|
_desc="ODROID-XU"
|
||||||
pkgver=3.4.91
|
pkgver=3.4.91
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
arch=('armv7h')
|
arch=('armv7h')
|
||||||
url="http://www.kernel.org/"
|
url="http://www.kernel.org/"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git')
|
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git')
|
||||||
options=('!strip')
|
options=('!strip')
|
||||||
source=("https://github.com/hardkernel/linux/archive/${_commit}.tar.gz"
|
source=("https://github.com/hardkernel/linux/archive/${_commit}.tar.gz"
|
||||||
|
'http://archlinuxarm.org/builder/src/0001-cgroup-add-xattr-support.patch'
|
||||||
'config')
|
'config')
|
||||||
md5sums=('56b4eef760ca55ff652eda63bb375aa1'
|
md5sums=('56b4eef760ca55ff652eda63bb375aa1'
|
||||||
|
'9f62f6e7127aa5dcdadde550c88def95'
|
||||||
'35cee12c062fc5300449175958104f35')
|
'35cee12c062fc5300449175958104f35')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
@ -25,6 +27,8 @@ prepare() {
|
||||||
|
|
||||||
cat "${srcdir}/config" > ./.config
|
cat "${srcdir}/config" > ./.config
|
||||||
|
|
||||||
|
git apply ../0001-cgroup-add-xattr-support.patch
|
||||||
|
|
||||||
# add pkgrel to extraversion
|
# add pkgrel to extraversion
|
||||||
sed -ri "s|^(EXTRAVERSION =)(.*)|\1 \2-${pkgrel}|" Makefile
|
sed -ri "s|^(EXTRAVERSION =)(.*)|\1 \2-${pkgrel}|" Makefile
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue