summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrien Prost-Boucle2017-04-18 22:33:39 +0200
committerAdrien Prost-Boucle2017-04-18 22:33:39 +0200
commit2f797932fb20bd79655f018920296cc5c5b451f7 (patch)
treebb6807a28b05d11901f671e85f59521e82c017f9
parentba09b3f77af8bea502bc4bcf548bc600ce91e5fe (diff)
downloadaur-riffa-git.tar.gz
Fix getting version of modules
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--riffa.install2
3 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aab926422ea..0d35e07fa2a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Thu Feb 9 19:56:05 UTC 2017
+# Tue Apr 18 20:32:53 UTC 2017
pkgbase = riffa-git
pkgdesc = RIFFA: A Reusable Integration Framework For FPGA Accelerators
- pkgver = 2.2.2.git20161214
+ pkgver = 2.2.2.git20170213
pkgrel = 1
url = http://riffa.ucsd.edu/
install = riffa.install
diff --git a/PKGBUILD b/PKGBUILD
index b7f76f534f5..8f19aa1ff09 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Important: the versions of the packages linux and linux-header must match
pkgname=riffa-git
-pkgver=2.2.2.git20161214
+pkgver=2.2.2.git20170213
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc='RIFFA: A Reusable Integration Framework For FPGA Accelerators'
@@ -52,7 +52,7 @@ build() {
package() {
# Note: Can't use the riffa provided install commands because all is hardcoded for Red Hat / Debian
- _extramodules=extramodules-`uname -r | sed -e 's/\([[:digit:]]*\).\([[:digit:]]\).*/\1.\2/g'`-ARCH
+ _extramodules=extramodules-`uname -r | sed -e 's/\([[:digit:]]*\)\.\([[:digit:]]*\)\..*/\1.\2/g'`-ARCH
sed --follow-symlinks -i -e 's/^\([[:blank:]]*EXTRAMODULES=\).*$/\1'"$_extramodules"'/g' "${srcdir}/riffa.install"
install -Dm0755 "${srcdir}/99-riffa.rules" "${pkgdir}/etc/udev/rules.d/99-riffa.rules"
diff --git a/riffa.install b/riffa.install
index 00dcd93cc2e..9989a3ccb9c 100644
--- a/riffa.install
+++ b/riffa.install
@@ -1,6 +1,6 @@
_depmod() {
- EXTRAMODULES=extramodules-4.8-ARCH
+ EXTRAMODULES=extramodules-4.10-ARCH
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}