linux.inc: unset CONFIG_LOCALVERSION_AUTO to not get 2.6.27.2-svn8826-dirty26 like names
PATCH 1/1 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.
--- recipes/linux/linux.inc | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
recipes/linux/linux.inc +3 -0
@@ -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.
Signature · 1 line
1.6.3.rc0
Please after it gets into dev, propose it to stable since it is quite useful.
Quoted 39 lines · Marcin Juszkiewicz
Year ago we removed
CONFIG_LOCALVERSIONfrom .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_AUTOvariable.Signed-off-by Marcin Juszkiewicz <[email protected]>Acked-by Koen Kooi <[email protected]>---
recipes/linux/linux.inc | 3 +++1 files changed, 3 insertions(+), 0 deletions(-)recipes/linux/linux.inc +1
-0@@ -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_AUTOis 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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Dnia środa, 22 kwietnia 2009 o 18:23:29 Otavio Salvador napisał(a):
Quoted 2 lines
Please after it gets into dev, propose it to stable since it is quite useful.
It is in reverse :D I did that patch for stable but all things needs to be in .dev first so... ;D
Regards,
Signature · 3 lines
JID: [email protected] Website: http://marcin.juszkiewicz.com.pl/ LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz