mirror: Add libbpf submodule update to sync script

Update libbpf submodule as part of the sync-kernel.sh script. The update
can be skipped by passing SKIP_LIBBPF_UPDATE=1 on the command line.

Make the tips of the bpf-next and bpf branch default to libbpf's new
checkpoints (after the update). As a consequence, we no longer need a
branch name to find the tip of the bpf branch, and we can get rid of the
third command-line argument.

Move the creation of the new branch in bpftool repository higher in the
script, so that we can switch to that branch before creating the new
commit for the libbpf update.

Improve the usage() function to summarise the steps of the script.

Signed-off-by: Quentin Monnet <quentin@isovalent.com>
1 file changed