diff options
author | Oliver Mangold | 2018-02-27 12:07:46 +0100 |
---|---|---|
committer | Oliver Mangold | 2018-02-27 12:07:46 +0100 |
commit | 798c0ee0670d6cef096612973509c77c09b905b5 (patch) | |
tree | aba54c3eed6d16678389f09d2d9f255f024f4da7 | |
parent | ef68af96fd7ea01c71481aac2508caa7da488f59 (diff) | |
download | aur-798c0ee0670d6cef096612973509c77c09b905b5.tar.gz |
fixing location of sysctl file from /etc -> /usr/lib
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = kmodcache pkgdesc = Scripts to make a copy of installed kernel modules, which will be used for on-demand loading from then point on, thus make reboots unnecessary after kernel updates. pkgver = 1.0 - pkgrel = 1 + pkgrel = 2 arch = any license = GPL3 source = kmodcache.conf @@ -2,7 +2,7 @@ pkgname=kmodcache pkgver=1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Scripts to make a copy of installed kernel modules, which will be used for on-demand loading from then point on, thus make reboots unnecessary after kernel updates." arch=('any') license=('GPL3') @@ -13,10 +13,10 @@ sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP') package() { #cd "${pkgname}" - install -m 755 -d "$pkgdir"/usr/lib/modules "$pkgdir"/etc/sysctl.d "$pkgdir"/usr/lib/systemd/system "$pkgdir"/usr/bin "$pkgdir"/usr/local/bin + install -m 755 -d "$pkgdir"/usr/lib/modules "$pkgdir"/usr/lib/sysctl.d "$pkgdir"/usr/lib/systemd/system "$pkgdir"/usr/bin "$pkgdir"/usr/local/bin install -m 755 make-kmod-cache "$pkgdir"/usr/bin install -m 755 modprobe "$pkgdir"/usr/local/bin - install -m 644 kmodcache.conf "$pkgdir"/etc/sysctl.d + install -m 644 kmodcache.conf "$pkgdir"/usr/lib/sysctl.d install -m 644 kmodcache.service "$pkgdir"/usr/lib/systemd/system ln -s /var/cache/kmods "$pkgdir"/usr/lib/modules/cached } |