Re: [PATCH 1/1] Add kernel parameter for kernel version

From: eric ernst
Date: Mon Jun 02 2014 - 14:46:47 EST



On 14-05-27 01:06 PM, Randy Dunlap wrote:
On 05/27/2014 12:48 PM, Josh Boyer wrote:
On Tue, May 27, 2014 at 3:40 PM, <eric.ernst@xxxxxxxxxxxxxxx> wrote:
From: Eric Ernst <eric.ernst@xxxxxxxxxxxxxxx>

Create a kernel cmdline parameter, "version_addendum", which can be
used to add text to the kernel version that is reported from
/proc/version.
Why?

What is the intended purpose of this and why would someone want to use it?
and if the patch were to continue to live, it needs a Documentation addition
to kernel-parameters.txt.

Randy - ACK.

Josh - we have a need to keep a single product binary (kernel) across multiple android devices. A subset of these platforms are looking for extra versioning information appended to it, accessible via /proc/version. Rather than build multiple otherwise identical kernels with only this extended versioning as differentiation, we are looking to make this a command line parameter. Understandable if there isn't enough value-add for the community in this patch, but I figured I'd give the patch a shot, as we need this functionality locally. Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/