[OpenBIOS] [PATCH v3] Add revision number to banner
mark.cave-ayland at ilande.co.uk
Thu Dec 3 23:11:33 CET 2015
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
More information about the OpenBIOS