[bitbake-devel] gitsm

Submitted by Reinhard Thies on March 26, 2014, 12:58 p.m.

Details

Message ID 201403261358.41447.Reinhard.Thies@web.de
State New
Headers show

Commit Message

Reinhard Thies March 26, 2014, 12:58 p.m.
Hi,

I am just started to work with gitsm. Maybe I am doing something wrong because 
it wont work until I remove a line in the gitsm.py file.

I have so idea what the line should be for and would appreciate any help.

             runfetchcmd("git submodule update", d)

--
thx
Reinhard

Patch hide | download patch | download mbox

diff --git a/bitbake/lib/bb/fetch2/gitsm.py b/bitbake/lib/bb/fetch2/gitsm.py
index 572b637..06f7fb7 100644
--- a/bitbake/lib/bb/fetch2/gitsm.py
+++ b/bitbake/lib/bb/fetch2/gitsm.py
@@ -68,11 +68,11 @@  class GitSM(Git):
 
     def unpack(self, ud, destdir, d):
         Git.unpack(self, ud, destdir, d)
-        
+
         os.chdir(ud.destdir)
         submodules = self.uses_submodules(ud, d)
         if submodules:
-            runfetchcmd("cp -r " + ud.clonedir + "/modules " + ud.destdir + 
"/.git/", d)
+#            runfetchcmd("cp -r " + ud.clonedir + "/modules " + ud.destdir + 
"/.git/", d)
             runfetchcmd("git submodule init", d)