Skip to content

Commit

Permalink
Backports for 6.11 verifier errors (#1961)
Browse files Browse the repository at this point in the history
  • Loading branch information
Molter73 authored Nov 19, 2024
1 parent 71097f8 commit e8c795e
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,7 @@
path = builder/third_party/yaml-cpp
url = https://github.com/jbeder/yaml-cpp.git
branch = master
[submodule "builder/third_party/bpftool"]
path = builder/third_party/bpftool
url = https://github.com/libbpf/bpftool
branch = v7.3.0
2 changes: 1 addition & 1 deletion builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN dnf -y update \
bison \
ca-certificates \
clang-17.0.6 \
llvm-17.0.6 \
cmake \
cracklib-dicts \
diffutils \
Expand Down Expand Up @@ -42,7 +43,6 @@ RUN dnf -y update \
valgrind \
wget \
which \
bpftool \
# for USDT support
systemtap-sdt-devel \
&& dnf clean all
Expand Down
12 changes: 12 additions & 0 deletions builder/install/90-bpftool.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

set -e

cd third_party/bpftool

# Replace libbpf with our submodule
rm -rf libbpf/
ln -s ../libbpf libbpf

mkdir src/build
make V=1 -C src ${NPROCS:+-j ${NPROCS}} all install
1 change: 1 addition & 0 deletions builder/third_party/bpftool
Submodule bpftool added at 687e7f
2 changes: 1 addition & 1 deletion collector/container/konflux.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN /tmp/.konflux/scripts/subscription-manager-bro.sh register /mnt && \
wget \
unzip \
clang \
bpftool \
llvm \
cmake-3.18.2-9.el8 \
gcc-c++ \
openssl-devel \
Expand Down
2 changes: 1 addition & 1 deletion falcosecurity-libs

0 comments on commit e8c795e

Please sign in to comment.