summaryrefslogtreecommitdiff
path: root/scripts/ver_linux
AgeCommit message (Collapse)Author
2009-06-09Remove bashisms from scriptsdann frazier
The '-e' option to echo and brace expansion are not guaranteed to be supported by a POSIX-compliant /bin/sh (e.g. dash) Signed-off-by: dann frazier <dannf@debian.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2008-07-31kbuild: scripts/ver_linux: don't set PATHAdrian Bunk
It would have saved both a bug submitter and me a few hours if scripts/ver_linux had picked the same gcc as the build. Since I can't see any reason why it fiddles with PATH at all this patch therefore removes the PATH setting. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2008-05-25scripts/ver_linux use 'gcc -dumpversion'Gabriel C
These magic greps and hacks in ver_linux to get the gcc version always break after some gcc releases. Since now gcc >4.3 allows compiling with '--with-pkgversion' ( which can be everything 'My Cool Gcc' or something ) ver_linux will report random junk for these. Simply use 'gcc -dumpversion' to get the gcc version which should always work. Signed-off-by: Gabriel C <nix.or.die@googlemail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2007-10-12kbuild: scripts/ver_linux : correct printing of binutils versionJesper Juhl
Currently scripts/ver_linux prints "Binutils" or other random information for the version number in the "binutils" output line on some distributions. This patch corrects that. When I initially submitted a patch to correct that, I was not aware that the output from "ld -v" could differ as much as it turned out it can, so my original fix turned out to not cover all bases. This patch works correctly with all the different "ld -v" output that people posted in replys to my first patch, so it should be a clear win over what we have currently. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2007-10-12kbuild: ver_linux fix glibc version printJesper Juhl
Fix ver_linux glibc version printing (for real this time) Alexey Dobriyan reported that commit 4a645d5ea65baaa5736bcb566673bf4a351b2ad8 broke ver_linux when glibc has a 3 digit version number, and proposed a patch. Al Viro then suggested a simpler way to solve the problem which I've then simply put into patch form. Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru> Signed-off-by: Al Viro <viro@ftp.linux.org.uk> Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2007-07-25kbuild: fix up printing of Linux C Library version in scripts/ver_linuxJesper Juhl
I noticed, when running scripts/ver_linux on both a Gentoo system and a Slackware system, that the line printing the C library version looked a little odd. So I fixed it up to be in line with all the rest. Old output: Linux C Library > libc.2.5 New output: Linux C Library 2.5 Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2006-12-07[PATCH] ver_linux additionsValdis Kletnieks
scripts/ver_linux needed some minor clean-ups, as follows: 1) Add reporting of actual oprofile release 2) Add reporting of actual wireless-tools release 3) Add reporting of actual pcmciautils release Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-04-05ver_linux: don't print reiser4progs version if none foundAlexey Dobriyan
Sam: did the same for reiserprogs Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2005-09-07[PATCH] Adapt scripts/ver_linux to new util-linux version stringsAlexey Dobriyan
Tested with 2.12i and 2.13-pre2. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-18[PATCH] 2.6.12-rc1-mm3 Fix ver_linux script for no udev utils.Steven Cole
Without the attached patch, the ver_linux script gives the following if udev utils are not present. ./scripts/ver_linux: line 90: udevinfo: command not found The patch causes ver_linux to be silent in the case of no udevinfo command. Signed-off-by: Steven Cole <elenstev@mesatop.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-01-06[PATCH] add printing of udev version to scripts/ver_linuxJesper Juhl
Since udev is starting to be used a lot of places and I've seen people get asked about their udev version a few times on lkml I figured it was perhaps time that scripts/ver_linux reported this info so it would get into more bugreports by default. This patch adds printing of udev version to scripts/ver_linux Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
2004-09-06scripts: Update ver_linux for recent reiserfsprogsSteven Cole
The ver_linux script is fixed to report recent versions of reiserfsprogs. (Older versions had "reiserfsprogs" in the line containing the version number, while recent versions report "reiserfsck" followed by version number). The ver_linux script is updated to report the reiser4progs version number. This was tested with reiserfsprogs 3.6.11, 3.6.18 and reiser4progs 1.0.0. Signed-off-by: Steven Cole <elenstev@mesatop.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2004-04-11[PATCH] ver_linux fixAndrew Morton
From: Rusty Russell <rusty@rustcorp.com.au> From: Adrian Bunk <bunk@fs.tum.de> Some versions of ps print non-version lines when ps --version is invoked. grep them out.
2004-03-15[PATCH] Fix scripts/ver_linuxAndrew Morton
From: Trivial Patch Monkey <trivial@rustcorp.com.au> From: Thomas Molina <tmolina@cablespeed.com> ver_linux hasn't displayed binutils version right for some time. This patch corrects that and preserves the old behaviour as well, as suggested by Rusty.
2003-10-04[PATCH] Bugzilla bug # 267 - scripts_ver_linux fixRusty Russell
From: Jeff Sipek <jeffpc@optonline.net>
2003-09-07Fix various scripts to be marked executable.Linus Torvalds
From carbonated beverage <ramune@net-ronin.org>. [ "carbonated beverage"? WTF? I think I need a cool handle too ;]
2003-07-17[PATCH] fix ver_linux for 2.6Alan Cox
(Steven Cole)
2003-07-09[PATCH] update Documentation/Changes, scripts/ver_linuxSteven Cole
Add a section about quota-tools in the Changes and version docs.
2003-05-14[PATCH] fix module-init-tools ver_linux problem.Dave Jones
Patch from Steven Cole to fix up ver_linux output on a system with no module-init-tools, just modutils. As noted in bugzilla #267 and at http://marc.theaimsgroup.com/?l=linux-kernel&m=104492524815220&w=2
2003-02-09[PATCH] scripts_ver_linuxRusty Russell
From: Frank Davis <fdavis@si.rr.com> The ver_linux script is still using rmmod to determine module-init-tools version. The following patch uses depmod, which produces the appropriate result.
2002-12-27[PATCH] Documentation/Changes for modulesDaniel A. Nobuto
the url for module-init-tools has been fixed, and all the references to modutils (outside source) has been updated if necessary. more patches to follow to fix up the modules.conf/conf.modules vs. modprobe.conf references.
2002-10-27[PATCH] updated ver_linuxAlan Cox
2002-02-04v2.4.9.3 -> v2.4.9.4Linus Torvalds
- Hugh Dickins: swapoff cleanups and speedups - Matthew Dharm: USB storage update - Keith Owens: Makefile fixes - Tom Rini: MPC8xx build fix - Nikita Danilov: reiserfs update - Jakub Jelinek: ELF loader fix for ET_DYN - Andrew Morton: reparent_to_init() for kernel threads - Christoph Hellwig: VxFS and SysV updates, vfs_permission fix
2002-02-04v2.4.9.2 -> v2.4.9.3Linus Torvalds
- Johannes Erdfelt, Oliver Neukum: USB printer driver race fix - John Byrne: fix stupid i386-SMP irq stack layout bug - Andreas Bombe, me: yenta IO window fix - Neil Brown: raid1 buffer state fix - David Miller, Paul Mackerras: fix up sparc and ppc respectively for kmap/kbd_rate - Matija Nalis: umsdos fixes, and make it possible to boot up with umsdos - Francois Romieu: fix bugs in dscc4 driver - Andy Grover: new PCI config space access functions (eventually for ACPI) - Albert Cranford: fix incorrect e2fsprog data from ver_linux script - Dave Jones: re-sync x86 setup code, fix macsonic kmalloc use - Johannes Erdfelt: remove obsolete plusb USB driver - Andries Brouwer: fix USB compact flash version info, add blksize ioctls
2002-02-04v2.4.3.2 -> v2.4.3.3Linus Torvalds
- Hui-Fen Hsu: sis900 driver update - NIIBE Yutaka: Super-H update - Alan Cox: more resyncs (ARM down, but more to go) - David Miller: network zerocopy, Sparc sync, qlogic,FC fix, etc. - David Miller/me: get rid of various drivers hacks to do mmap alignment behind the back of the VM layer. Create a real protocol for it.
2002-02-04v2.4.2 -> v2.4.2.1Linus Torvalds
- Chris Mason: reiserfs, another null bytes bug - Andrea Arkangeli: make SMP Athlon build - Alexander Zarochentcev: reiserfs directory fsync SMP locking fix - Jeff Garzik: PCI network driver updates - Alan Cox: continue merging - Ingo Molnar: fix RAID AUTORUN ioctl, scheduling improvements
2002-02-04Import changesetLinus Torvalds