[oe] [PATCH 1/1] linux.inc: unset CONFIG_LOCALVERSION_AUTO to not get 2.6.27.2-svn8826-dirty26 like names
Otavio Salvador
otavio at ossystems.com.br
Wed Apr 22 16:23:29 UTC 2009
Acked-by: Otavio Salvador <otavio at ossystems.com.br>
Please after it gets into dev, propose it to stable since it is quite useful.
On Wed, Apr 22, 2009 at 11:12 AM, Marcin Juszkiewicz
<marcin at juszkiewicz.com.pl> wrote:
> Year ago we removed CONFIG_LOCALVERSION from .config to get more sane names of
> kernels. Today with 2.6.27.2 I got 2.6.27.2-svn8826-dirty26 kernel which was
> 2.6.27.2-svn8826-dirty9 on device so no modules ;(
>
> This patch changes this by unsetting CONFIG_LOCALVERSION_AUTO variable.
>
> Signed-off-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>
> Acked-by: Koen Kooi <koen at openembedded.org>
> ---
> recipes/linux/linux.inc | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc
> index 984efac..5a4a11f 100644
> --- a/recipes/linux/linux.inc
> +++ b/recipes/linux/linux.inc
> @@ -98,8 +98,11 @@ do_configure_prepend() {
> -e '/CONFIG_LOGO=/d' \
> -e '/CONFIG_LOGO_LINUX_CLUT224=/d' \
> -e '/CONFIG_LOCALVERSION/d' \
> + -e '/CONFIG_LOCALVERSION_AUTO/d' \
> < '${WORKDIR}/defconfig' >>'${S}/.config'
>
> + echo 'CONFIG_LOCALVERSION=""' >>${S}/.config
> + echo '# CONFIG_LOCALVERSION_AUTO is not set' >>${S}/.config
> #
> # root-over-nfs-over-usb-eth support. Limited, but should cover some cases.
> # Enable this by setting a proper CMDLINE_NFSROOT_USB.
> --
> 1.6.3.rc0
>
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
--
Otavio Salvador O.S. Systems
E-mail: otavio at ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
More information about the Openembedded-devel
mailing list