bump to latest version
This commit is contained in:
parent
a72ea1d905
commit
7780575dce
19
PKGBUILD
19
PKGBUILD
@ -7,7 +7,7 @@ pkgname=('linux' 'linux-headers' 'linux-docs') # Build stock -ARCH kernel
|
||||
# pkgname=linux-custom # Build kernel with a different name
|
||||
_kernelname=${pkgname#linux}
|
||||
_basekernel=3.0
|
||||
pkgver=${_basekernel}.1
|
||||
pkgver=${_basekernel}.2
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.kernel.org/"
|
||||
@ -15,20 +15,13 @@ license=('GPL2')
|
||||
makedepends=('xmlto' 'docbook-xsl')
|
||||
options=('!strip')
|
||||
source=("ftp://ftp.kernel.org/pub/linux/kernel/v3.0/linux-${_basekernel}.tar.bz2"
|
||||
"ftp://ftp.kernel.org/pub/linux/kernel/v3.0/patch-${pkgver}.bz2"
|
||||
"ftp://ftp.kernel.org/pub/linux/kernel/v3.0/patch-${pkgver}.gz"
|
||||
# the main kernel config files
|
||||
'config' 'config.x86_64'
|
||||
# standard config files for mkinitcpio ramdisk
|
||||
"${pkgname}.preset"
|
||||
'fix-i915.patch'
|
||||
'change-default-console-loglevel.patch')
|
||||
md5sums=('398e95866794def22b12dfbc15ce89c0'
|
||||
'ac49f7907f1fc85fbab92d0f1aa1552a'
|
||||
'fc6aae0fb4d70feff92ec762d29dee45'
|
||||
'fd5a1712ddea696eee5255de2d854218'
|
||||
'eb14dcfd80c00852ef81ded6e826826a'
|
||||
'263725f20c0b9eb9c353040792d644e5'
|
||||
'9d3c56a4b999c8bfbd4018089a62f662')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/linux-${_basekernel}"
|
||||
@ -120,6 +113,7 @@ package_linux() {
|
||||
-e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
|
||||
-i "${startdir}/${pkgname}.install"
|
||||
sed \
|
||||
-e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgname}\"|g" \
|
||||
-e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgname}.img\"|g" \
|
||||
-e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgname}-fallback.img\"|g" \
|
||||
-i "${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset"
|
||||
@ -281,3 +275,10 @@ package_linux-docs() {
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
md5sums=('398e95866794def22b12dfbc15ce89c0'
|
||||
'd4ff10b7c9a5d8d0aa4c97579c81b7f9'
|
||||
'fc6aae0fb4d70feff92ec762d29dee45'
|
||||
'fd5a1712ddea696eee5255de2d854218'
|
||||
'eb14dcfd80c00852ef81ded6e826826a'
|
||||
'263725f20c0b9eb9c353040792d644e5'
|
||||
'9d3c56a4b999c8bfbd4018089a62f662')
|
||||
|
Loading…
Reference in New Issue
Block a user