Remove depmod hack
It ws only needed to avoid a second depmod during package() when we had manual module compression.
This commit is contained in:
parent
30e994930b
commit
d2e54fc4fc
6
PKGBUILD
6
PKGBUILD
|
@ -82,7 +82,7 @@ _package() {
|
|||
msg2 "Installing modules..."
|
||||
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
|
||||
mkdir -p "$modulesdir"
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" DEPMOD=/doesnt/exist modules_install
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" modules_install
|
||||
|
||||
# a place for external modules,
|
||||
# with version file for building modules and running depmod from hook
|
||||
|
@ -94,11 +94,7 @@ _package() {
|
|||
# remove build and source links
|
||||
rm "$modulesdir"/{source,build}
|
||||
|
||||
msg2 "Running depmod..."
|
||||
depmod -b "$pkgdir/usr" -E Module.symvers -e "$kernver"
|
||||
|
||||
msg2 "Installing hooks..."
|
||||
|
||||
# sed expression for following substitutions
|
||||
local subst="
|
||||
s|%PKGBASE%|$pkgbase|g
|
||||
|
|
Loading…
Reference in New Issue