diff options
author | Anton Novosyolov | 2016-04-27 16:38:54 +0300 |
---|---|---|
committer | Anton Novosyolov | 2016-04-27 16:38:54 +0300 |
commit | a8fa0db6b5b4d0d7ae5c246392eba911b5429e0f (patch) | |
tree | b4b4a0d040dcfaf8cced68ae341d98a85b1c73a6 /PKGBUILD | |
parent | 11cafd8ad11d4dba92999c21586a9cbbc10c5af0 (diff) | |
download | aur-a8fa0db6b5b4d0d7ae5c246392eba911b5429e0f.tar.gz |
4.5.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 14 insertions, 20 deletions
@@ -4,20 +4,19 @@ #pkgbase=linux # Build stock -ARCH kernel pkgbase=linux-ice # Build kernel with a different name -_srcname=linux-4.3 -pkgver=4.3.4 -pkgrel=2 -_toipatch=tuxonice-for-linux-4.3.4-2016-01-24.patch +_srcname=linux-4.5 +pkgver=4.5.2 +pkgrel=1 +_toipatch=tuxonice-for-linux-4.5.2-2016-04-21.patch arch=('i686' 'x86_64') url="http://www.kernel.org/" license=('GPL2') makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc') options=('!strip') -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/patch-${pkgver}.xz" - "https://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.sign" - "0001-disabling-primary-plane-in-the-noatomic-case.patch" +source=("https://cdn.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz" + "https://cdn.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.sign" + "https://cdn.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz" + "https://cdn.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.sign" # the main kernel config files 'config' 'config.x86_64' # standard config files for mkinitcpio ramdisk @@ -27,17 +26,16 @@ source=("https://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz" "http://tuxonice.net/downloads/all/${_toipatch}.bz2" ) -sha256sums=('4a622cc84b8a3c38d39bc17195b0c064d2b46945dfde0dae18f77b120bc9f3ae' +sha256sums=('a40defb401e01b37d6b8c8ad5c1bbab665be6ac6310cdeed59950c96b31a519c' 'SKIP' - '1867a17e108ae8d10163b2494c3b3aa23c03d9a47cda7381aea2f97366bed80d' + 'a9913a04ddbd06acde9b00b3179c41fddb99f61168ef5d01d3e8cf72385038b1' 'SKIP' - 'abdd04bd6beecb7c961130a68d71e6332bd260462eeaa2f4f8e634de813dcc4d' - '5d9d7aefa33b239279456fa8a8cd4de2d9ee4601f9f432b718c9bfdb7ce2925b' - '8c1ba876b2291c58269f7232b291e369daa925ba904b45636af4e80c0f73ced5' + '2355efbab340d16c1b60a7805b987a78e57266809ba6c986ceef68ef7ce71db0' + 'cee1781f96e55a909757c4533cdacb57c3ffe6f6f01f709e8a5a837dc4a68bba' 'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c' '8c270194a0ab5deea628880f42443dff0932d445f1aa6aec6a295924a18b7643' '1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99' - '7b82218d17001ab54691552fd87f38482afa4a2923cfdab104381ca0efce8ae0') + '806ce4284e2a6c3b751786be783fd82a95afaa4a928ab28ff91c8f49f7c0d326') validpgpkeys=( 'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds '647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman @@ -62,10 +60,6 @@ prepare() { # tuxonice patch patch -p1 -i "${srcdir}/${_toipatch}" - # fix #46968 - # hangs on older intel hardware - patch -Np1 -i "${srcdir}/0001-disabling-primary-plane-in-the-noatomic-case.patch" - if [ "${CARCH}" = "x86_64" ]; then cat "${srcdir}/config.x86_64" > ./.config else @@ -96,7 +90,6 @@ prepare() { #make xconfig # X-based configuration #make oldconfig # using old config from previous kernel version # ... or manually edit .config - # rewrite configuration yes "" | make config >/dev/null } @@ -261,6 +254,7 @@ _package-headers() { mkdir -p "${pkgdir}"/usr/lib/modules/${_kernver}/build/`echo ${i} | sed 's|/Kconfig.*||'` cp ${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/${i}" done + rm -rf "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/kbuild" chown -R root.root "${pkgdir}/usr/lib/modules/${_kernver}/build" find "${pkgdir}/usr/lib/modules/${_kernver}/build" -type d -exec chmod 755 {} \; # strip scripts directory |