From 18ccd8a8df91f38ec7918d108aa31f4c35451ba4 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 21 Oct 2014 23:32:35 +0000
Subject: linux: remove nouveau modules

---
 abs/core/linux/PKGBUILD          | 5 ++++-
 abs/core/linux/__changelog       | 1 +
 abs/core/linux/linux.install.pkg | 2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)
 create mode 100644 abs/core/linux/__changelog

diff --git a/abs/core/linux/PKGBUILD b/abs/core/linux/PKGBUILD
index 1ccdf59..5a4b9c3 100644
--- a/abs/core/linux/PKGBUILD
+++ b/abs/core/linux/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=linux               # Build stock -ARCH kernel
 #pkgbase=linux-custom       # Build kernel with a different name
 _srcname=linux-3.13
 pkgver=3.13.7
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url="http://www.kernel.org/"
 license=('GPL2')
@@ -190,6 +190,9 @@ _package() {
   mkdir -p "${pkgdir}/usr"
   mv "${pkgdir}/lib" "${pkgdir}/usr/"
 
+  #remove nouvea
+  find $pkgdir/usr/lib -name "nouvea*" -exec rm -f {} \;
+
   # add vmlinux
   install -D -m644 vmlinux "${pkgdir}/usr/lib/modules/${_kernver}/build/vmlinux" 
 }
diff --git a/abs/core/linux/__changelog b/abs/core/linux/__changelog
new file mode 100644
index 0000000..9a2e2b1
--- /dev/null
+++ b/abs/core/linux/__changelog
@@ -0,0 +1 @@
+PKGBUILD: remove nouveau modules
diff --git a/abs/core/linux/linux.install.pkg b/abs/core/linux/linux.install.pkg
index 863ef82..13f1c5e 100644
--- a/abs/core/linux/linux.install.pkg
+++ b/abs/core/linux/linux.install.pkg
@@ -2,7 +2,7 @@
 # arg 2:  the old package version
 
 KERNEL_NAME=
-KERNEL_VERSION=3.13.7-1-ARCH
+KERNEL_VERSION=3.13.7-2-ARCH
 
 post_install () {
   # updating module dependencies
-- 
cgit v0.12