[OpenBIOS] [PATCH v3] Add revision number to banner

Programmingkid programmingkidx at gmail.com
Fri Dec 4 00:18:52 CET 2015


On Dec 3, 2015, at 5:11 PM, Mark Cave-Ayland wrote:

> On 02/12/15 20:20, Programmingkid wrote:
> 
>> The banner is displayed at the start of openbios with the version and build
>> time. This patch adds the revision number for easier identification of binary
>> version. It would look like this: 
>> 
>> Welcome to OpenBIOS v1.1 (Revision 1358) built on Nov 28 2015 18:22
>> 
>> If the user doesn't have the svn command, git command,
>> or an svn repo, the word "unknown" is used instead of
>> the number. 
>> 
>> Signed-off-by: John Arbuckle <programmingkidx at gmail.com>
>> 
>> New in revision 3:
>> Added support for a variable length repo number.
>> 
>> New in revision 2:
>> Added support for git if the repo is being managed by it. 
> 
> Hmmmm I'm still not 100% convinced this patch is the right way to go,
> particularly with git where we have different sets of commit ids
> depending upon whether you have a local git-svn checkout or a checkout
> from the (more popular) git.qemu.org.
> 
> I'm happy for people who think this would be useful to persuade me
> otherwise though.

How would we find out the commit id of OpenBIOS without the patch?


More information about the OpenBIOS mailing list