forked from JeremyStarTM/aur-linux-clear
sync with arch: FS#72275: Don't package files created by depmod
This commit is contained in:
parent
aa69636f2a
commit
485800ea7f
2 changed files with 3 additions and 3 deletions
1
.SRCINFO
1
.SRCINFO
|
@ -8,7 +8,6 @@ pkgbase = linux-clear
|
||||||
makedepends = bc
|
makedepends = bc
|
||||||
makedepends = cpio
|
makedepends = cpio
|
||||||
makedepends = git
|
makedepends = git
|
||||||
makedepends = kmod
|
|
||||||
makedepends = libelf
|
makedepends = libelf
|
||||||
makedepends = pahole
|
makedepends = pahole
|
||||||
makedepends = xmlto
|
makedepends = xmlto
|
||||||
|
|
5
PKGBUILD
5
PKGBUILD
|
@ -92,7 +92,7 @@ pkgdesc='Clear Linux'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/clearlinux-pkgs/linux"
|
url="https://github.com/clearlinux-pkgs/linux"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
makedepends=('bc' 'cpio' 'git' 'kmod' 'libelf' 'pahole' 'xmlto')
|
makedepends=('bc' 'cpio' 'git' 'libelf' 'pahole' 'xmlto')
|
||||||
if [ -n "$_use_llvm_lto" ]; then
|
if [ -n "$_use_llvm_lto" ]; then
|
||||||
makedepends+=(clang llvm lld python)
|
makedepends+=(clang llvm lld python)
|
||||||
fi
|
fi
|
||||||
|
@ -324,7 +324,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 a new issue