ia64/xen-unstable

changeset 2879:36f8c6f0613f

bitkeeper revision 1.1159.160.1 (418a1231eTxviku3pqdKCA7ZZYUuJA)

Add BK changeset info to the Xen boot banner.
author kaf24@freefall.cl.cam.ac.uk
date Thu Nov 04 11:27:45 2004 +0000 (2004-11-04)
parents 5f61f7a86799
children 9813d8e70a3b
files xen/Makefile xen/common/kernel.c
line diff
     1.1 --- a/xen/Makefile	Thu Nov 04 10:59:36 2004 +0000
     1.2 +++ b/xen/Makefile	Thu Nov 04 11:27:45 2004 +0000
     1.3 @@ -61,6 +61,8 @@ include/xen/compile.h:
     1.4  	@LANG=C echo \#define XEN_SUBVERSION\ \ \ $(XEN_SUBVERSION) >> $@
     1.5  	@LANG=C echo \#define XEN_EXTRAVERSION \"$(XEN_EXTRAVERSION)\" >> $@
     1.6  	@LANG=C echo >> $@
     1.7 +	@LANG=C echo \#define XEN_CHANGESET \"`bk changes -nd':D: :T: :REV: :MD5KEY:' -r+ 2>/dev/null || echo "information unavailable"`\" >> $@
     1.8 +	@LANG=C echo >> $@
     1.9  	@LANG=C echo \#define XEN_BANNER \\ >> $@
    1.10  	cd ./figlet && make && ./figlet Xen $(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_EXTRAVERSION) 1>>../$@ && cd ..
    1.11  	@LANG=C echo >> $@
     2.1 --- a/xen/common/kernel.c	Thu Nov 04 10:59:36 2004 +0000
     2.2 +++ b/xen/common/kernel.c	Thu Nov 04 11:27:45 2004 +0000
     2.3 @@ -195,10 +195,11 @@ void cmain(multiboot_info_t *mbi)
     2.4      printk(XEN_BANNER);
     2.5      printk(" http://www.cl.cam.ac.uk/netos/xen\n");
     2.6      printk(" University of Cambridge Computer Laboratory\n\n");
     2.7 -    printk(" Xen version %d.%d%s (%s@%s) (%s) %s\n\n",
     2.8 +    printk(" Xen version %d.%d%s (%s@%s) (%s) %s\n",
     2.9             XEN_VERSION, XEN_SUBVERSION, XEN_EXTRAVERSION,
    2.10             XEN_COMPILE_BY, XEN_COMPILE_DOMAIN,
    2.11             XEN_COMPILER, XEN_COMPILE_DATE);
    2.12 +    printk(" Latest ChangeSet: %s\n\n", XEN_CHANGESET);
    2.13      set_printk_prefix("(XEN) ");
    2.14  
    2.15      /* We require memory and module information. */