remove kernel26 lines #44826, bump version to 4.2
This commit is contained in:
parent
85cbc6c40a
commit
cb4372108c
23
PKGBUILD
23
PKGBUILD
|
@ -3,8 +3,8 @@
|
||||||
|
|
||||||
pkgbase=linux # Build stock -ARCH kernel
|
pkgbase=linux # Build stock -ARCH kernel
|
||||||
#pkgbase=linux-custom # Build kernel with a different name
|
#pkgbase=linux-custom # Build kernel with a different name
|
||||||
_srcname=linux-4.1
|
_srcname=linux-4.2
|
||||||
pkgver=4.1.6
|
pkgver=4.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://www.kernel.org/"
|
url="http://www.kernel.org/"
|
||||||
|
@ -13,16 +13,14 @@ makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
|
||||||
options=('!strip')
|
options=('!strip')
|
||||||
source=("https://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
|
source=("https://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
|
||||||
"https://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.sign"
|
"https://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.sign"
|
||||||
"https://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz"
|
#"https://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz"
|
||||||
"https://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.sign"
|
#"https://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.sign"
|
||||||
# the main kernel config files
|
# the main kernel config files
|
||||||
'config' 'config.x86_64'
|
'config' 'config.x86_64'
|
||||||
# standard config files for mkinitcpio ramdisk
|
# standard config files for mkinitcpio ramdisk
|
||||||
'linux.preset'
|
'linux.preset'
|
||||||
'change-default-console-loglevel.patch')
|
'change-default-console-loglevel.patch')
|
||||||
sha256sums=('caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f'
|
sha256sums=('cf20e044f17588d2a42c8f2a450b0fd84dfdbd579b489d93e9ab7d0e8b45dbeb'
|
||||||
'SKIP'
|
|
||||||
'64e4deb16a279e233b0c91463b131bd0f3de6aabdb49efded8314bcf5dbfe070'
|
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'b5d6829dcb75d99fea401d9579e859a6ebb9bc09b2d6992dde171e8f05d5cbcf'
|
'b5d6829dcb75d99fea401d9579e859a6ebb9bc09b2d6992dde171e8f05d5cbcf'
|
||||||
'ee55d469a4c00b6fb4144549f2a9c5b84d9fe7948c7cbd2637dce72227392b4f'
|
'ee55d469a4c00b6fb4144549f2a9c5b84d9fe7948c7cbd2637dce72227392b4f'
|
||||||
|
@ -39,7 +37,7 @@ prepare() {
|
||||||
cd "${srcdir}/${_srcname}"
|
cd "${srcdir}/${_srcname}"
|
||||||
|
|
||||||
# add upstream patch
|
# add upstream patch
|
||||||
patch -p1 -i "${srcdir}/patch-${pkgver}"
|
#patch -p1 -i "${srcdir}/patch-${pkgver}"
|
||||||
|
|
||||||
# add latest fixes from stable queue, if needed
|
# add latest fixes from stable queue, if needed
|
||||||
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
|
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
|
||||||
|
@ -92,9 +90,6 @@ _package() {
|
||||||
[ "${pkgbase}" = "linux" ] && groups=('base')
|
[ "${pkgbase}" = "linux" ] && groups=('base')
|
||||||
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
|
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
|
||||||
optdepends=('crda: to set the correct wireless channels of your country')
|
optdepends=('crda: to set the correct wireless channels of your country')
|
||||||
provides=("kernel26${_kernelname}=${pkgver}")
|
|
||||||
conflicts=("kernel26${_kernelname}")
|
|
||||||
replaces=("kernel26${_kernelname}")
|
|
||||||
backup=("etc/mkinitcpio.d/${pkgbase}.preset")
|
backup=("etc/mkinitcpio.d/${pkgbase}.preset")
|
||||||
install=linux.install
|
install=linux.install
|
||||||
|
|
||||||
|
@ -151,9 +146,6 @@ _package() {
|
||||||
|
|
||||||
_package-headers() {
|
_package-headers() {
|
||||||
pkgdesc="Header files and scripts for building modules for ${pkgbase/linux/Linux} kernel"
|
pkgdesc="Header files and scripts for building modules for ${pkgbase/linux/Linux} kernel"
|
||||||
provides=("kernel26${_kernelname}-headers=${pkgver}")
|
|
||||||
conflicts=("kernel26${_kernelname}-headers")
|
|
||||||
replaces=("kernel26${_kernelname}-headers")
|
|
||||||
|
|
||||||
install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
|
install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
|
||||||
|
|
||||||
|
@ -271,9 +263,6 @@ _package-headers() {
|
||||||
|
|
||||||
_package-docs() {
|
_package-docs() {
|
||||||
pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase/linux/Linux} kernel"
|
pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase/linux/Linux} kernel"
|
||||||
provides=("kernel26${_kernelname}-docs=${pkgver}")
|
|
||||||
conflicts=("kernel26${_kernelname}-docs")
|
|
||||||
replaces=("kernel26${_kernelname}-docs")
|
|
||||||
|
|
||||||
cd "${srcdir}/${_srcname}"
|
cd "${srcdir}/${_srcname}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue