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/v0.10] Fix libbpf submodule checkout in bpftool #2619

Closed
wants to merge 1 commit into from

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:06
@tpapagian tpapagian requested review from tixxdz and removed request for a team June 28, 2024 14:06
@tpapagian tpapagian added the release-note/misc This PR makes changes that have no direct user impact. label Jun 28, 2024
@tpapagian tpapagian closed this Jun 28, 2024
@tpapagian tpapagian deleted the pr/apapag/backport-2616-0.10 branch June 28, 2024 14:23
@tpapagian
Copy link
Member Author

tpapagian commented Jun 28, 2024

It seems that more fixes needed in that branch, so skipping that backport for now.

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