ci: fix workaround about bpftool for codeql

Follow-up for e9fd2bbfff.
This commit is contained in:
Yu Watanabe
2025-10-18 10:39:13 +09:00
committed by Daan De Meyer
parent 5ee8ffb5c5
commit a6836cfa0b

View File

@@ -55,7 +55,7 @@ jobs:
# TODO: drop after we switch to ubuntu 26.04
bpftool_binary=$(find /usr/lib/linux-tools/ /usr/lib/linux-tools-* -name 'bpftool' -perm /u=x 2>/dev/null | sort -r | head -n1)
if [ -n "$bpftool_binary" ]; then
sudo rm -f /usr/bin/bpftool
sudo rm -f /usr/{bin,sbin}/bpftool
sudo ln -s "$bpftool_binary" /usr/bin/
fi