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";