From a226c63bc3923273be2d3ebd9c860de5cdc8ea4a Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Thu, 14 Mar 2024 02:26:06 +0200 Subject: core/linux: Don't run bpftool --- core/linux/PKGBUILD | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'core/linux/PKGBUILD') diff --git a/core/linux/PKGBUILD b/core/linux/PKGBUILD index b95e4c39..7ee56472 100644 --- a/core/linux/PKGBUILD +++ b/core/linux/PKGBUILD @@ -120,7 +120,8 @@ b2sums+=('165ab9dd8cedeaae5327accc1581c19cf0be55f923b03feb889cad3351b74c7c4cd3d3 eval "$( declare -f package_${pkgbase}-headers | \ sed '/objtool/d' | \ - sed '/resolve_btfids/d' + sed '/resolve_btfids/d' | \ + sed 's@tools/bpf/bpftool/vmlinux.h@@' )" # temporarily disabled documentation due to sphinx_rtd_theme (FS32#163) @@ -130,11 +131,12 @@ pkgname=( grep -v '^\$pkgbase-docs' ) ) + +# Also avoid building/running bpftool eval "$( declare -f build | \ - sed ' - s/\bhtmldocs\b// - ' + sed '/htmldocs/d' | \ + sed '/bpftool/d' )" makedepends=(${makedepends[@]//python-sphinx_rtd_theme/}) makedepends=(${makedepends[@]//python-sphinx<6.0.0/}) -- cgit v1.2.3-70-g09d2