diff options
author | Josip Ponjavic | 2022-04-11 10:21:03 +0200 |
---|---|---|
committer | Josip Ponjavic | 2022-04-11 10:21:03 +0200 |
commit | 485800ea7fe0d53ba2ec32d476d3fc7a0906ca54 (patch) | |
tree | 88bf7dbc14b0392a08ae712dc41f8e123f762eef /PKGBUILD | |
parent | aa69636f2a5cfb798c9b2ecb4a7ce702fc970c98 (diff) | |
download | aur-485800ea7fe0d53ba2ec32d476d3fc7a0906ca54.tar.gz |
sync with arch: FS#72275: Don't package files created by depmod
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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} |