summarylogtreecommitdiffstats
path: root/make-kmod-cache
diff options
context:
space:
mode:
authorOliver Mangold2022-12-02 11:00:24 +0100
committerOliver Mangold2022-12-02 11:22:48 +0100
commit7495b8cfdc0dc2056bd0523b4016c391ed5c3d55 (patch)
treed19d8329be64f5408949ed6498c1418070931cc6 /make-kmod-cache
parent5133b37d23d45cae8214639e914e906ffc49729f (diff)
downloadaur-7495b8cfdc0dc2056bd0523b4016c391ed5c3d55.tar.gz
complete rewrite:
- do not use systemd but, but pacman hooks - do not use custom modprobe, but symlink from /usr/lib/modules to /var/cache/kmods
Diffstat (limited to 'make-kmod-cache')
-rwxr-xr-xmake-kmod-cache8
1 files changed, 0 insertions, 8 deletions
diff --git a/make-kmod-cache b/make-kmod-cache
deleted file mode 100755
index 22379d8a0939..000000000000
--- a/make-kmod-cache
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash -e
-
-moddir=/lib/modules/`uname -r`
-[ -d "$moddir" ]
-rm -f /var/cache/kmods/osrelease
-rm -rf /var/cache/kmods
-cp -r -L --preserve=all --reflink=auto "$moddir" /var/cache/kmods
-cp -a /proc/sys/kernel/osrelease /var/cache/kmods/osrelease