summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Mangold2019-03-10 09:09:52 +0100
committerOliver Mangold2019-03-10 09:10:43 +0100
commit5133b37d23d45cae8214639e914e906ffc49729f (patch)
tree8496e2bd3b6e28c8cb45acdc92260e1bd15fd4c8
parent668240102fbf0a51fa815e90c3f21148be33b027 (diff)
downloadaur-5133b37d23d45cae8214639e914e906ffc49729f.tar.gz
adding RequiresMountsFor=/var/cache to systemd unit
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--kmodcache.service1
3 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 29b1516ce25e..b95b4cdca2b9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
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.1
+ pkgver = 1.2
pkgrel = 1
arch = any
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index 1886b985af16..3101f834f76f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Oliver Mangold <o.mangold@gmail.com>
pkgname=kmodcache
-pkgver=1.1
+pkgver=1.2
pkgrel=1
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')
diff --git a/kmodcache.service b/kmodcache.service
index 030345e59770..ec49ba30bfa7 100644
--- a/kmodcache.service
+++ b/kmodcache.service
@@ -1,5 +1,6 @@
[Unit]
Description=update modules cache for active kernel
+RequiresMountsFor=/var/cache
[Service]
Type=oneshot