]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: fix workaround about bpftool for codeql
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 18 Oct 2025 01:39:13 +0000 (10:39 +0900)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 18 Oct 2025 07:10:35 +0000 (09:10 +0200)
Follow-up for e9fd2bbfffc5c2c7cd1ea0a288d5435fc15e387f.

.github/workflows/codeql.yml

index 9dd4f6b649291bf579a90ed1fbfeab9b4ecc2987..61179c8184f5b99918951d60bafadb50f0049e5f 100644 (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