aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-30 16:08:04 +0300
committerCem Keylan <cem@ckyln.com>2020-09-30 16:08:04 +0300
commit5a017c41c9e6603c712e87962b60053d707d9920 (patch)
treee1ac8257620b9c1260bbcd69712fe1550d77deef
parent3cd10c0a3e36c6e303a045ff01cebde00dcabbdd (diff)
downloadrepository-5a017c41c9e6603c712e87962b60053d707d9920.tar.gz
zfs: fix post-install
-rwxr-xr-xpersonal/zfs/post-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/personal/zfs/post-install b/personal/zfs/post-install
index 5173fca..6997bf4 100755
--- a/personal/zfs/post-install
+++ b/personal/zfs/post-install
@@ -1,2 +1,2 @@
#!/bin/sh
-depmod -b "/usr/lib/modules/${KERNEL_VERSION:-$(uname -r)}"
+depmod -b "$CPT_ROOT/usr" "${KERNEL_VERSION:-$(uname -r)}"