dwarves.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pahole: correct libbpf git url
@ 2021-08-06 10:12 Joseph Qi
  2021-08-06 18:42 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 5+ messages in thread
From: Joseph Qi @ 2021-08-06 10:12 UTC (permalink / raw)
  To: acme; +Cc: dwarves

Otherwise it will encounter the following error:
fatal: unable to access 'https://github.com/libbpf/libbpf/': Encountered end of file
fatal: clone of 'https://github.com/libbpf/libbpf' into submodule path '/home/workspace/pahole/lib/bpf' failed

Also update README to add step 'make'.

Fixes: 21507cd3e97b ("pahole: add libbpf as submodule under lib/bpf")
Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
---
 .gitmodules | 2 +-
 README      | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitmodules b/.gitmodules
index 6be99dc..8be5eb6 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,3 @@
 [submodule "lib/bpf"]
 	path = lib/bpf
-	url = https://github.com/libbpf/libbpf
+	url = https://github.com/libbpf/libbpf.git
diff --git a/README b/README
index c9f1737..07f5876 100644
--- a/README
+++ b/README
@@ -4,7 +4,8 @@ Build instructions:
 2. mkdir build
 3. cd build
 4. cmake -D__LIB=lib ..
-5. make install
+5. make
+6. make install
 
 cmake Options:
   -DBUILD_SHARED_LIBS
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-08 11:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-06 10:12 [PATCH] pahole: correct libbpf git url Joseph Qi
2021-08-06 18:42 ` Arnaldo Carvalho de Melo
2021-08-06 18:45   ` Arnaldo Carvalho de Melo
2021-08-06 21:11   ` Andrii Nakryiko
2021-08-08 11:37     ` Joseph Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).