Created
March 25, 2017 16:58
-
-
Save kaueraal/bb83fac83b84aaa5050a0a4cf8287cbe to your computer and use it in GitHub Desktop.
Diff for aur: linux-git to create some directories
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/PKGBUILD b/PKGBUILD | |
index 5127e05..a173422 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -84,7 +84,7 @@ _package() { | |
_basekernel=${_kernver%%-*} | |
_basekernel=${_basekernel%.*} | |
- mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot} | |
+ mkdir -p "${pkgdir}"/{lib/modules/"${_kernver}/kernel",lib/firmware,boot} | |
make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install | |
cp arch/$KARCH/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment