[bitbake-devel] gitsm

Reinhard Thies Reinhard.Thies at web.de
Wed Mar 26 12:58:41 UTC 2014


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.

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)
             runfetchcmd("git submodule update", d)

--
thx
Reinhard



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20140326/a7c1041e/attachment-0002.html>


More information about the bitbake-devel mailing list