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

From: David Rientjes
Date: Thu Jun 05 2014 - 18:30:34 EST


On Thu, 5 Jun 2014, eric ernst wrote:

> 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.

Unrecognized parameters on the kernel command line are disregarded, so
your platforms should be able to parse /proc/cmdline for
version_addendum=foo already.
--
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/