From d5259ce789aea1b80d7b5b9c8138b81df1cd993c Mon Sep 17 00:00:00 2001 From: Andrew Werner Date: Mon, 17 Jul 2023 15:50:25 -0400 Subject: [PATCH] xtask: move libbpf submodule --- .github/workflows/gen.yml | 2 +- .gitmodules | 2 +- libbpf => xtask/libbpf | 0 xtask/src/lib.rs | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename libbpf => xtask/libbpf (100%) diff --git a/.github/workflows/gen.yml b/.github/workflows/gen.yml index b76dfd97..37506c6a 100644 --- a/.github/workflows/gen.yml +++ b/.github/workflows/gen.yml @@ -12,7 +12,7 @@ jobs: submodules: recursive - name: update libbpf - working-directory: libbpf + working-directory: xtask/libbpf run: | set -e git fetch origin diff --git a/.gitmodules b/.gitmodules index e606d2b6..7fdecdc5 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "libbpf"] - path = libbpf + path = xtask/libbpf url = https://github.com/libbpf/libbpf diff --git a/libbpf b/xtask/libbpf similarity index 100% rename from libbpf rename to xtask/libbpf diff --git a/xtask/src/lib.rs b/xtask/src/lib.rs index db50c7fd..4cf871f5 100644 --- a/xtask/src/lib.rs +++ b/xtask/src/lib.rs @@ -14,4 +14,4 @@ pub fn exec(cmd: &mut Command) -> Result<()> { } } -pub const LIBBPF_DIR: &str = "libbpf"; +pub const LIBBPF_DIR: &str = "xtask/libbpf";