From: Jeff Mahoney Subject: skip git submodule import for OBS build For OBS builds, the git submodule is imported during obs_scm. Signed-off-by: Jeff Mahoney --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Makefile +++ b/Makefile @@ -61,8 +61,8 @@ ifeq ($(BUILD_LIBBPFGO), 1) vql/linux/chattrsnoop/chattrsnoop.bpf.o $(LIBBPFGO_DIR): always-check - echo "INFO: updating submodule 'libbpfgo'" - $(GIT) submodule update --init --recursive $@ +# echo "INFO: updating submodule 'libbpfgo'" +# $(GIT) submodule update --init --recursive $@ # Fake that it's an internal module rm -f $@/go.mod sed -e 's;"github.com/aquasecurity;"www.velocidex.com/golang/velociraptor/third_party;' -i $@/libbpfgo.go