[arch-commits] Commit in ndctl/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Mar 18 19:57:50 UTC 2019
Date: Monday, March 18, 2019 @ 19:57:49
Author: felixonmars
Revision: 348615
upgpkg: ndctl 64.1-2
correct file location of modprobe.d conf
Modified:
ndctl/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-18 16:57:09 UTC (rev 348614)
+++ PKGBUILD 2019-03-18 19:57:49 UTC (rev 348615)
@@ -2,7 +2,7 @@
pkgname=ndctl
pkgver=64.1
-pkgrel=1
+pkgrel=2
pkgdesc='Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel'
arch=('x86_64')
url="https://github.com/pmem/ndctl"
@@ -12,6 +12,11 @@
source=("$pkgname-$pkgver.tar.gz::https://github.com/pmem/ndctl/archive/v$pkgver.tar.gz")
sha512sums=('d1f537a72d918a26939d72eb1f5f04ca197e197c6a0fe208916de126ad36ec079b7cb7aa2a3b07d9e28d4def6385f5f1b0309fab81f0f08043df60635fdc7a8b')
+prepare() {
+ # fix location of modprobe.d conf
+ sed -i 's|^modprobedir =.*|modprobedir = /usr/lib/modprobe.d/|' $pkgname-$pkgver/Makefile.am
+}
+
build() {
cd "$srcdir"/$pkgname-$pkgver
./autogen.sh
More information about the arch-commits
mailing list