Skip to content

Conversation

@theihor
Copy link
Contributor

@theihor theihor commented Oct 22, 2025

libbpf ci got broken due to recent changes in the get-linux-source scripts [1]. We now use git clone, and --branch doesn't work if you pass in a commit sha.

Modify the script to use --revision argument [2], and make sure git is sufficiently new (this is relatively new feature).

[1] https://github.com/libbpf/libbpf/actions/runs/18725797440/job/53409993399
[2] https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---revisionrev

libbpf ci got broken due to recent changes in the get-linux-source
scripts [1]. We now use git clone, and --branch doesn't work if you
pass in a commit sha.

Modify the script to use --revision argument [2], and make sure git is
sufficiently new (this is relatively new feature).

[1] https://github.com/libbpf/libbpf/actions/runs/18725797440/job/53409993399
[2] https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---revisionrev

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
@theihor theihor merged commit dc6aea4 into main Oct 22, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants