Skip to contentSkip to conversation

gitsm

PATCH Reinhard Thies 1 participant 1 message Mar 26, 2014

lore
Share & tools
lore
#0 lore raw

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.

bitbake/lib/bb/fetch2/gitsm.py +1 -2
index 572b637..06f7fb7 100644
@@ -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) runfetchcmd("git submodule update", d)

--
thx
Reinhard