summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimao Gomes Viana2020-05-14 23:48:57 +0200
committerSimao Gomes Viana2020-05-14 23:48:57 +0200
commit73d4960d5ade50a57237e89f3c807c4c1573888c (patch)
treef6596bda3f95b433e3b2c2f8e21f44a1fc599b5f
parent9eeb6eab436e6b638ee29782143cf17b4e37eac1 (diff)
downloadaur-73d4960d5ade50a57237e89f3c807c4c1573888c.tar.gz
Add support for localmodconfig/modprobed-db
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 760f0e2485dc..a2fa55edf000 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-nitrous-git
pkgver = 5.6+
- pkgrel = 3
+ pkgrel = 4
url = https://gitlab.com/xdevs23/linux-nitrous
arch = x86_64
license = GPL2
diff --git a/PKGBUILD b/PKGBUILD
index ad0f525867c7..adf614e26268 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,7 @@
pkgbase=linux-nitrous-git
_srcname=linux-nitrous-git
pkgver=5.6+
-pkgrel=3
+pkgrel=4
arch=('x86_64')
url="https://gitlab.com/xdevs23/linux-nitrous"
license=('GPL2')
@@ -39,6 +39,9 @@ prepare() {
rm -f .clang
make HOSTCC=clang CC=clang nitrous_defconfig
+ if [ -f "$HOME/.config/modprobed.db" ]; then
+ make LSMOD=$HOME/.config/modprobed.db localmodconfig
+ fi
# get kernel version
#make prepare