summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosip Ponjavic2022-04-11 10:22:26 +0200
committerJosip Ponjavic2022-04-11 10:22:26 +0200
commitb4aa2a39c1060159a1a5232edae9664500d210e2 (patch)
tree592cd511fa7ecb187923b3a715aab284bb6db218
parentf946ec0e2d114ae2903707c1bab3392b9c5cf0cc (diff)
downloadaur-b4aa2a39c1060159a1a5232edae9664500d210e2.tar.gz
sync with arch: FS#72275: Don't package files created by depmod
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD5
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 997a88ec7a36..22e8862310b4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,7 +8,6 @@ pkgbase = linux-clear-lts2020
makedepends = bc
makedepends = cpio
makedepends = git
- makedepends = kmod
makedepends = libelf
makedepends = pahole
makedepends = xmlto
diff --git a/PKGBUILD b/PKGBUILD
index 9c804755080c..6f8e2a93e37e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -84,7 +84,7 @@ pkgdesc='Clear Linux lts2020'
arch=('x86_64')
url="https://github.com/clearlinux-pkgs/linux-lts2020"
license=('GPL2')
-makedepends=('bc' 'cpio' 'git' 'kmod' 'libelf' 'pahole' 'xmlto')
+makedepends=('bc' 'cpio' 'git' 'libelf' 'pahole' 'xmlto')
options=('!strip')
_gcc_more_v='20211114'
source=(
@@ -256,7 +256,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}