25 lines
782 B
Diff
25 lines
782 B
Diff
|
From: Jeff Mahoney <jeffm@suse.com>
|
||
|
Subject: skip git submodule import for OBS build
|
||
|
|
||
|
For OBS builds, the git submodule is imported during obs_scm.
|
||
|
|
||
|
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
|
||
|
---
|
||
|
Makefile | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
--- a/Makefile
|
||
|
+++ b/Makefile
|
||
|
@@ -61,8 +61,8 @@ ifeq ($(BUILD_LIBBPFGO), 1)
|
||
|
BPF_MODULES := vql/linux/tcpsnoop/tcpsnoop.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
|
||
|
|