summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2009-04-22 04:12:57 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2009-04-22 19:08:08 +0200
commit9219f40b58de4d9588c5a2480209d5ee1d3ab5d6 (patch)
treef32dfcfa176e85dc6e98527c08e45a27dd039c1d /recipes
parent82ede6b24b408cdeabde96dd0023919867ada753 (diff)
linux.inc: unset CONFIG_LOCALVERSION_AUTO to not get 2.6.27.2-svn8826-dirty26 like names
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@juszkiewicz.com.pl> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/linux/linux.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc
index 984efac4d3..5a4a11fecf 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.