diff options
author | David Cohen | 2023-02-22 09:03:08 -0600 |
---|---|---|
committer | David Cohen | 2023-02-22 09:03:08 -0600 |
commit | c328e8f066b166efcf2e89308ee3ed001874d36c (patch) | |
tree | afb4eae6c2d13599a7329ae38b30c7cf9ac2b202 | |
parent | 18b2213090467da16118e8e210025dca8ce36c4d (diff) | |
download | aur-c328e8f066b166efcf2e89308ee3ed001874d36c.tar.gz |
fix packaging problem if CONFIG_DEBUG_INFO_BTF is disabled
Signed-off-by: David Cohen <dacohen@pm.me>
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = linux-mainline-git pkgdesc = Linus Torvalds' Mainline Linux - pkgver = v6.2.r3026.69308402ca6f + pkgver = v6.2.r5251.5b7c4cabbb65 pkgrel = 1 url = https://www.kernel.org arch = x86_64 @@ -6,7 +6,7 @@ # will be on config.extra file. pkgbase=linux-mainline-git -pkgver=v6.2.r3026.69308402ca6f +pkgver=v6.2.r5251.5b7c4cabbb65 pkgrel=1 pkgdesc="Linus Torvalds' Mainline Linux" url="https://www.kernel.org" @@ -177,7 +177,9 @@ _package-headers() { install -Dt "$builddir/tools/objtool" tools/objtool/objtool # required when DEBUG_INFO_BTF_MODULES is enabled - install -Dt "$builddir/tools/bpf/resolve_btfids" tools/bpf/resolve_btfids/resolve_btfids + if [[ -f "$builddir/tools/bpf/resolve_btfids" ]]; then + install -Dt "$builddir/tools/bpf/resolve_btfids" tools/bpf/resolve_btfids/resolve_btfids + fi echo "Installing headers..." cp -t "$builddir" -a include |