All of lore.kernel.org
 help / color / mirror / Atom feed
* Buildsummary, where did it go?
@ 2009-07-22  9:14 Koen Kooi
  0 siblings, 0 replies; only message in thread
From: Koen Kooi @ 2009-07-22  9:14 UTC (permalink / raw)
  To: openembedded-devel

Hi,

I just noticed that /etc/angstrom-version didn't have the git revision 
and branch any more, so I looked into base.bbclass and after 2 hours I 
did this:

-	branch = os.popen('cd %s; PATH=%s git symbolic-ref HEAD 2>/dev/null' % 
(path, d.getVar("BBPATH", 1))).read().rstrip()
+	branch = os.popen('cd %s; PATH=%s git symbolic-ref HEAD 2>/dev/null' % 
(path, d.getVar("PATH", 1))).read().rstrip()

-	rev = os.popen("cd %s; PATH=%s git show-ref HEAD 2>/dev/null" % (path, 
d.getVar("BBPATH", 1))).read().split(" ")[0].rstrip()
+	rev = os.popen("cd %s; PATH=%s git show-ref HEAD 2>/dev/null" % (path, 
d.getVar("PATH", 1))).read().split(" ")[0].rstrip()

That bug went largely unnoticed due to the build summary not being 
displayed anymore.

How do I get it back? I like it very much. Sadly the stable/2009 branch 
is missing it as well due to kergoths patches.

regards,

Koen




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-22  9:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-22  9:14 Buildsummary, where did it go? Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.