Skip to content

Commit

Permalink
prereqs: fixup libbpf version
Browse files Browse the repository at this point in the history
Signed-off-by: Maryam Tahhan <[email protected]>
  • Loading branch information
maryamtahhan committed May 1, 2024
1 parent ff12848 commit bb94cb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,12 @@ ebpf() {
mkdir -p /tmp/libbpf-source
cd /tmp/libbpf-source
yumdownloader --source libbpf
rpm2cpio libbpf-1.2.0-1.el9.src.rpm | cpio -iv
rpm2cpio libbpf-1.3.0-2.el9.src.rpm | cpio -iv
tar xf ./linux-*el9.tar.xz
cd /tmp/libbpf-source/linux-5.14.0-333.el9/tools/lib/bpf
cd /tmp/libbpf-source/linux-5.14.0-424.el9/tools/lib/bpf
make install_headers
prefix=/usr BUILD_STATIC_ONLY=y make install
cd /tmp/libbpf-source/linux-5.14.0-333.el9/tools/bpf
cd /tmp/libbpf-source/linux-5.14.0-424.el9/tools/bpf
make bpftool

cd "$workdir"
Expand Down

0 comments on commit bb94cb2

Please sign in to comment.