git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92c3868
)
gitpkgv.bbclass: return None if repository does not exist
author
Otavio Salvador
<otavio@ossystems.com.br>
Thu, 20 Jan 2011 16:19:44 +0000
(16:19 +0000)
committer
Tom Rini
<tom_rini@mentor.com>
Wed, 9 Feb 2011 16:22:42 +0000
(09:22 -0700)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
classes/gitpkgv.bbclass
patch
|
blob
|
history
diff --git
a/classes/gitpkgv.bbclass
b/classes/gitpkgv.bbclass
index
64adcae
..
d4b8287
100644
(file)
--- a/
classes/gitpkgv.bbclass
+++ b/
classes/gitpkgv.bbclass
@@
-59,6
+59,9
@@
def get_git_pkgv(d, use_tags):
gitsrcname = '%s%s' % (host, path.replace('/', '.'))
repodir = os.path.join(bb.data.expand('${GITDIR}', d), gitsrcname)
+ if not os.path.exists(repodir):
+ return None
+
rev = bb.fetch.get_srcrev(d).split('+')[1]
cwd = os.getcwd()