summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Parnell2015-10-05 04:16:34 -0500
committerMatt Parnell2015-10-05 04:16:34 -0500
commit46d0df91944b364202f63f80577942100aa059f1 (patch)
tree1a6f2dfb5f70b38b1dbc29ac45907a5070141ebf
parentfc04a85712083ca6e319377c02f586496bc808af (diff)
downloadaur-46d0df91944b364202f63f80577942100aa059f1.tar.gz
erm, i mean really fix it
-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}