FS#72275: Don't package files created by depmod
This commit is contained in:
parent
d60d23d3e0
commit
b6880b286a
5
PKGBUILD
5
PKGBUILD
@ -9,7 +9,7 @@ url="https://github.com/archlinux/linux/commits/$_srctag"
|
|||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
license=(GPL2)
|
license=(GPL2)
|
||||||
makedepends=(
|
makedepends=(
|
||||||
bc kmod libelf pahole cpio perl tar xz
|
bc libelf pahole cpio perl tar xz
|
||||||
xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick
|
xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick
|
||||||
git
|
git
|
||||||
)
|
)
|
||||||
@ -85,7 +85,8 @@ _package() {
|
|||||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||||
|
|
||||||
echo "Installing modules..."
|
echo "Installing modules..."
|
||||||
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install
|
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 \
|
||||||
|
DEPMOD=/doesnt/exist modules_install # Suppress depmod
|
||||||
|
|
||||||
# remove build and source links
|
# remove build and source links
|
||||||
rm "$modulesdir"/{source,build}
|
rm "$modulesdir"/{source,build}
|
||||||
|
Loading…
Reference in New Issue
Block a user