Unbreak 60-linux.hook's extramodules
This commit is contained in:
parent
b2b8b5d690
commit
f8843269a5
5
PKGBUILD
5
PKGBUILD
|
@ -86,7 +86,8 @@ _package() {
|
|||
|
||||
# a place for external modules,
|
||||
# with version file for building modules and running depmod from hook
|
||||
local extradir="$pkgdir/usr/lib/modules/extramodules$_kernelname"
|
||||
local extramodules="extramodules$_kernelname"
|
||||
local extradir="$pkgdir/usr/lib/modules/$extramodules"
|
||||
install -Dt "$extradir" -m644 ../version
|
||||
ln -sr "$extradir" "$modulesdir/extramodules"
|
||||
|
||||
|
@ -102,7 +103,7 @@ _package() {
|
|||
local subst="
|
||||
s|%PKGBASE%|$pkgbase|g
|
||||
s|%KERNVER%|$kernver|g
|
||||
s|%EXTRAMODULES%|$extradir|g
|
||||
s|%EXTRAMODULES%|$extramodules|g
|
||||
"
|
||||
|
||||
# hack to allow specifying an initially nonexisting install file
|
||||
|
|
Loading…
Reference in New Issue