summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincenzo Maffione2018-11-21 19:12:35 +0100
committerVincenzo Maffione2018-11-21 19:13:21 +0100
commitdb496fe3ec7429bb011d5de191ea753130f3f526 (patch)
treef07b9d81375607b4738bae4256ae4c45a5378afd
parent3ca78c00d4f1fa48750de420f5e7dab29eef0971 (diff)
downloadaur-rlite-git.tar.gz
clean up modules.* generated by make ker_install
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d7afb8fb473..63dda148a3c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = rlite-git
pkgdesc = Recursive InterNetwork Architecture (RINA) user/kernel prototype written in C/C++
- pkgver = r2185.973e0e1
+ pkgver = r3736.d74553e7
pkgrel = 1
install = rlite.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 7be9326c95a..01f06a4054a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Maintainer: Vincenzo Maffione <v.maffione@gmail.com>
pkgname=rlite-git
-pkgver=r3028.ced57084
+pkgver=r3736.d74553e7
pkgrel=1
pkgdesc="Recursive InterNetwork Architecture (RINA) user/kernel prototype written in C/C++"
arch=('x86_64' 'i686' 'arm')
@@ -28,8 +28,8 @@ build() {
msg "Building on kernel ${RKVER}..."
cd "$srcdir/$_gitname"
- ./configure --prefix "$pkgdir" --libmodprefix /usr || exit 1
- make || exit 1
+ ./configure --prefix "$pkgdir" --libmodprefix /usr
+ make
msg "Build complete"
}
@@ -42,6 +42,10 @@ package() {
mkdir -p "$pkgdir/etc/modules-load.d"
cp $srcdir/$_gitname/archlinux/rlite.service "$pkgdir/usr/lib/systemd/system/"
cp $srcdir/$_gitname/archlinux/rlite.conf "$pkgdir/etc/modules-load.d"
+
+ # Remove the files generated by depmod. We will run depmod out of the
+ # fakeroot environment (see netmap.install).
+ rm ${pkgdir}/usr/lib/modules/`uname -r`/modules.*
}
# vim:set ts=2 sw=2 et: