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

[backport/v1.1] Fix libbpf submodule checkout in bpftool #2617

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

tpapagian
Copy link
Member

[upstream commit 0235ed5]

Now in the Dockerfile we do:
git clone --recurse-submodules https://github.com/libbpf/bpftool.git . && git checkout ${BPFTOOL_REV} which means that we fetch the libbpf submodule version of the main branch of bpftool and then we move to the appropriate commit that we need. After the checkout we also need to fetch the correct version of the submodules. This patch fixes that.

[upstream commit 0235ed5]

Now in the Dockerfile we do:
git clone --recurse-submodules https://github.com/libbpf/bpftool.git . && git checkout ${BPFTOOL_REV}
which means that we fetch the libbpf submodule version of the main
branch of bpftool and then we move to the appropriate commit that we
need. After the checkout we also need to fetch the correct version of
the submodules. This patch fixes that.

Signed-off-by: Anastasios Papagiannis <[email protected]>
@tpapagian tpapagian requested a review from a team as a code owner June 28, 2024 14:02
@tpapagian tpapagian requested review from tixxdz and removed request for a team June 28, 2024 14:02
@tpapagian tpapagian added the release-note/misc This PR makes changes that have no direct user impact. label Jun 28, 2024
@tpapagian tpapagian merged commit 3177d27 into v1.1 Jun 28, 2024
37 of 38 checks passed
@tpapagian tpapagian deleted the pr/apapag/backport-2616-1.1 branch June 28, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants