The bootlog in Ubuntu/Android images provide minimal information about the current HEAD from which the kernel was built. This patchset enables us to get detailed version info of the kernel.
Tested both on Ubuntu and Android images.
Patch 1 is already submitted to kernel-build ML and has been rejected. Hence review of this patchset is required w.r.t. Android/Ubuntu LEB and linux-linaro in mind.
Tushar Behera (3): kbuild: setlocalversion: ignore private tags while reporting local version kbuild: Add support to extract information about current git commit HEAD init: Add additional print for detailed kernel version
Makefile | 7 +++++-- include/linux/printk.h | 1 + init/main.c | 3 +++ init/version.c | 3 +++ scripts/setlocalversion | 5 +++-- 5 files changed, 15 insertions(+), 4 deletions(-)