summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cohen2023-02-22 09:03:08 -0600
committerDavid Cohen2023-02-22 09:03:08 -0600
commitc328e8f066b166efcf2e89308ee3ed001874d36c (patch)
treeafb4eae6c2d13599a7329ae38b30c7cf9ac2b202
parent18b2213090467da16118e8e210025dca8ce36c4d (diff)
downloadaur-c328e8f066b166efcf2e89308ee3ed001874d36c.tar.gz
fix packaging problem if CONFIG_DEBUG_INFO_BTF is disabled
Signed-off-by: David Cohen <dacohen@pm.me>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c9418f27010d..fdb7780cfb96 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index ff33536981a2..2c25e1c6cd80 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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