Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR - gh-123 support for 6.x kernel #562

Merged
merged 5 commits into from
Mar 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
gh-123 - Support for 6.x kernel : fixed build
  • Loading branch information
TrekkieCoder committed Mar 1, 2024
commit 1afe4f7a0c255c234ba3171223d383e9ee56765c
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -28,11 +28,10 @@ RUN mkdir -p /opt/loxilb && \
wget https://github.com/loxilb-io/iproute2/archive/refs/heads/main.zip && \
unzip main.zip && cd iproute2-main/ && rm -fr libbpf && wget https://github.com/loxilb-io/libbpf/archive/refs/heads/main.zip && \
unzip main.zip && mv libbpf-main libbpf && cd libbpf/src/ && mkdir build && \
DESTDIR=build OBJDIR=build make install && cd - && \
make install && DESTDIR=build OBJDIR=build make install && cd - && \
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:`pwd`/libbpf/src/ && \
LIBBPF_FORCE=on LIBBPF_DIR=`pwd`/libbpf/src/build ./configure && make && \
cp -f tc/tc /usr/local/sbin/ntc && cd .. && cd iproute2-main/libbpf/src/ && \
make install && cd - && rm -fr main.zip iproute2-main && \
cp -f tc/tc /usr/local/sbin/ntc && cd .. && rm -fr main.zip iproute2-main && \
# Install bpftool
git clone --recurse-submodules https://github.com/libbpf/bpftool.git && cd bpftool/src/ && \
git switch --detach v7.2.0 && \
2 changes: 1 addition & 1 deletion loxilb-ebpf