summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosip Ponjavic2022-04-11 10:22:14 +0200
committerJosip Ponjavic2022-04-11 10:22:14 +0200
commit376120cacf06b074a215605bf0778dbfc5af4378 (patch)
tree4c27cdeec341ec69d560ade483d0cad8c96b761e
parente566ca1fff75ce4dca0c515c6859b710fb9225ca (diff)
downloadaur-376120cacf06b074a215605bf0778dbfc5af4378.tar.gz
sync with arch: FS#72275: Don't package files created by depmod
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0c3e5d1f9222..71181bfccc72 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,7 +8,6 @@ pkgbase = linux-clear-lts2018
makedepends = bc
makedepends = cpio
makedepends = git
- makedepends = kmod
makedepends = libelf
makedepends = pahole
makedepends = xmlto
@@ -32,7 +31,7 @@ pkgname = linux-clear-lts2018
depends = coreutils
depends = kmod
depends = initramfs
- optdepends = crda: to set the correct wireless channels of your country
+ optdepends = wireless-regdb: to set the correct wireless channels of your country
optdepends = linux-firmware: firmware images needed for some devices
optdepends = modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig
provides = VIRTUALBOX-GUEST-MODULES
diff --git a/PKGBUILD b/PKGBUILD
index 536492760a6b..ea4ec7fb3114 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -84,7 +84,7 @@ pkgdesc='Clear Linux lts2018'
arch=('x86_64')
url="https://github.com/clearlinux-pkgs/linux-lts2018"
license=('GPL2')
-makedepends=('bc' 'cpio' 'git' 'kmod' 'libelf' 'pahole' 'xmlto')
+makedepends=('bc' 'cpio' 'git' 'libelf' 'pahole' 'xmlto')
options=('!strip')
_gcc_more_v='20211114'
source=(
@@ -253,7 +253,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}