Skip to contentSkip to conversation

Buildsummary, where did it go?

DISCUSSION Koen Kooi 1 participant 1 message Jul 22, 2009

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

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