summarylogtreecommitdiffstats
path: root/riffa.install
blob: 9989a3ccb9c8e0e6631fa3a9541ae8176ce4db6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

_depmod() {
  EXTRAMODULES=extramodules-4.10-ARCH
  depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}

post_install() {
  echo '==> You must load the riffa kernel module before using Riffa: # modprobe riffa'
  _depmod
}

post_upgrade() {
  _depmod
  echo '==> Manually reload the riffa kernel module to use the new version.'
}

post_remove() {
  _depmod
}