mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2026-10-24 22:07:40 -05:00
changes
This commit is contained in:
1 parent
313183d89f
commit
dde330a2f0
1 file changed
+5
-4
@@ -15,14 +15,15 @@ jobs:
|
||||
echo ${{ env.VERSION }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
KERNEL_TOOLS_PKG="linux-tools-$(uname -r)"
|
||||
|
||||
sudo /bin/apt-get update
|
||||
sudo /bin/apt-get install --no-install-recommends \
|
||||
python3-pip clang gcc gcc-multilib llvm libelf-dev graphviz esbuild \
|
||||
pkg-config libbpf-dev mold unzip linux-tools-common "${KERNEL_TOOLS_PKG}"
|
||||
pkg-config libbpf-dev mold unzip linux-tools-generic
|
||||
|
||||
sudo install -m 0755 "/usr/lib/linux-tools/$(uname -r)/bpftool" /usr/local/bin/bpftool
|
||||
BPFTOOL_BIN="$(find /usr/lib/linux-tools -type f -name bpftool | sort -V | tail -n1)"
|
||||
test -n "${BPFTOOL_BIN}"
|
||||
|
||||
sudo install -m 0755 "${BPFTOOL_BIN}" /usr/local/bin/bpftool
|
||||
command -v bpftool
|
||||
bpftool version
|
||||
- name: Build
|
||||
|
||||
Reference in new issue
Block a user