diff options
author | David Runge | 2020-10-21 22:02:05 +0200 |
---|---|---|
committer | David Runge | 2020-10-21 22:02:05 +0200 |
commit | 701344862ed5f7dc104d27af0c043af26d49ed89 (patch) | |
tree | fd97d8313e99e3c694f5e2fe61a854c58482c4b2 | |
parent | 85fbabbd68f3a0e07ec6a4059ca6c767aa9566bc (diff) | |
download | aur-701344862ed5f7dc104d27af0c043af26d49ed89.tar.gz |
Rebuild to add all changes from core/linux
PKGBUILD:
Incorporate all changes from core/linux.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 12 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = linux-rt pkgdesc = Linux RT pkgver = 5.9.1.18.arch1 - pkgrel = 1 + pkgrel = 2 url = https://wiki.linuxfoundation.org/realtime/start arch = x86_64 license = GPL2 @@ -35,6 +35,10 @@ pkgname = linux-rt depends = kmod optdepends = crda: to set the correct wireless channels of your country optdepends = linux-firmware: firmware images needed for some devices + provides = VIRTUALBOX-GUEST-MODULES + provides = WIREGUARD-MODULE + replaces = virtualbox-guest-modules-arch + replaces = wireguard-arch pkgname = linux-rt-headers pkgdesc = Headers and scripts for building modules for the Linux RT kernel @@ -3,7 +3,7 @@ pkgbase=linux-rt pkgver=5.9.1.18.arch1 -pkgrel=1 +pkgrel=2 pkgdesc='Linux RT' arch=('x86_64') url="https://wiki.linuxfoundation.org/realtime/start" @@ -71,6 +71,8 @@ _package() { depends=(coreutils initramfs kmod) optdepends=('crda: to set the correct wireless channels of your country' 'linux-firmware: firmware images needed for some devices') + provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE) + replaces=(virtualbox-guest-modules-arch wireguard-arch) cd "${pkgbase}" local kernver="$(<version)" @@ -85,7 +87,7 @@ _package() { echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase" echo "Installing modules..." - make INSTALL_MOD_PATH="$pkgdir/usr" modules_install + make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install # remove build and source links rm "$modulesdir"/{source,build} @@ -161,6 +163,9 @@ _package-headers() { esac done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0) + echo "Stripping vmlinux..." + strip -v $STRIP_STATIC "$builddir/vmlinux" + echo "Adding symlink..." mkdir -p "$pkgdir/usr/src" ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" |