From e2572a00ea3735f711a06ab2fb73a84fff9e99c1 Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Tue, 12 Apr 2022 22:22:22 +0200 Subject: [PATCH] Revert "linux516+: Check for resolve_btfids presence before attempting to install. When users are disabling related debugging, this would prevent headers package to build." This reverts commit 445a6b781a27accebefe7e7843e00a821b3754f8. --- PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 38f2220..e217885 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -931,7 +931,7 @@ hackheaders() { mkdir -p "$builddir"/{fs/xfs,mm} # add resolve_btfids on 5.16+ - if [ $_basever -ge 516 ] && [ -e "$builddir"/tools/bpf/resolve_btfids ]; then + if [ $_basever -ge 516 ]; then install -Dt "$builddir"/tools/bpf/resolve_btfids tools/bpf/resolve_btfids/resolve_btfids fi