From 485800ea7fe0d53ba2ec32d476d3fc7a0906ca54 Mon Sep 17 00:00:00 2001 From: Josip Ponjavic Date: Mon, 11 Apr 2022 10:21:03 +0200 Subject: [PATCH] sync with arch: FS#72275: Don't package files created by depmod --- .SRCINFO | 1 - PKGBUILD | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index b3b56b1..4d8f6d6 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -8,7 +8,6 @@ pkgbase = linux-clear makedepends = bc makedepends = cpio makedepends = git - makedepends = kmod makedepends = libelf makedepends = pahole makedepends = xmlto diff --git a/PKGBUILD b/PKGBUILD index 1e2f2a4..15a183a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -92,7 +92,7 @@ pkgdesc='Clear Linux' arch=('x86_64') url="https://github.com/clearlinux-pkgs/linux" license=('GPL2') -makedepends=('bc' 'cpio' 'git' 'kmod' 'libelf' 'pahole' 'xmlto') +makedepends=('bc' 'cpio' 'git' 'libelf' 'pahole' 'xmlto') if [ -n "$_use_llvm_lto" ]; then makedepends+=(clang llvm lld python) fi @@ -324,7 +324,8 @@ _package() { echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase" 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 rm "$modulesdir"/{source,build}