diff options
author | Adrien Prost-Boucle | 2022-02-10 11:04:26 +0100 |
---|---|---|
committer | Adrien Prost-Boucle | 2022-02-10 11:04:26 +0100 |
commit | 53f0c77ae824cfc1f69bdc38fb9f3e96168b4d12 (patch) | |
tree | 6e3949827e71c286fdb9ff3890a3e8ab03eaa7ab /riffa.install | |
parent | 711de1095460056de93cfd6f33e7450579dba6bb (diff) | |
download | aur-53f0c77ae824cfc1f69bdc38fb9f3e96168b4d12.tar.gz |
Update to newer kernel. Strengthen dependencies.
Diffstat (limited to 'riffa.install')
-rw-r--r-- | riffa.install | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/riffa.install b/riffa.install index 7cc7d952e997..1306f0786720 100644 --- a/riffa.install +++ b/riffa.install @@ -1,19 +1,18 @@ -_depmod() { - EXTRAMODULES=extramodules-5.12-ARCH - depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) -} +# Note : pacman autoimatically performs the following tasks after package install/update/remove: +# Update libraries with ldconfig +# Update kernel module dependencies with depmod (provided the module is installed at aappropariate path) post_install() { - echo '==> You must load the riffa kernel module before using Riffa: # modprobe riffa' - _depmod + echo '==> The RIFFA driver must be enabled to be used : # modprobe riffa' } post_upgrade() { - _depmod - echo '==> Manually reload the riffa kernel module to use the new version.' + echo '==> To use the new RIFFA driver without rebooting : # rmmod riffa ; modprobe riffa' } post_remove() { - _depmod + echo '==> Removing the Riffa kernel module' + rmmod riffa } + |