All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@openembedded.org
Subject: Buildsummary, where did it go?
Date: Wed, 22 Jul 2009 11:14:11 +0200	[thread overview]
Message-ID: <h46l93$4ng$1@ger.gmane.org> (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




                 reply	other threads:[~2009-07-22  9:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='h46l93$4ng$1@ger.gmane.org' \
    --to=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.