summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2afc6bb3b18..ec5ec1c513c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -129,7 +129,12 @@ package_linux-zen-git() {
mkdir -p "${pkgdir}/usr/lib/modules/extramodules-${_kernver}"
echo "${_kernver}" > "${pkgdir}/usr/lib/modules/extramodules-${_kernver}/version"
- ln -s "${pkgdir}/usr/lib/modules/extramodules-${_kernver}" "${pkgdir}/usr/lib/modules/${_kernver}"
+ # symlink extra
+ mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}"
+ cd "${pkgdir}/usr/lib/modules/${_kernver}"
+ ln -s "../extramodules-${_kernver}" "./extramodules"
+
+ cd "${srcdir}/build"
msg2 "Removing links to source and build directory..."
rm "$pkgdir/lib/modules/$_kernver/"{build,source}