* [PATCH][TRIVIAL][2.6] Bugzilla bug # 267 - ver_linux script fails to give module-init-tools version
@ 2003-08-04 23:23 Josef Jeff Sipek
0 siblings, 0 replies; only message in thread
From: Josef Jeff Sipek @ 2003-08-04 23:23 UTC (permalink / raw)
To: Linus Torvalds, Kernel Mailing List
This patch fixes the scripts/ver_linux script, which did not report any version for module-init-tools
when using module-init-tools. If modutils were used, it printed out the version. In both cases, the
effect was not wanted. (If modutils are used, nothing should be printed out.)
Josef "Jeff" Sipek
--- linux-2.6.0-test2-vanilla/scripts/ver_linux 2003-07-27 13:04:06.000000000 -0400
+++ linux-2.6.0-test2-used/scripts/ver_linux 2003-08-04 19:09:51.000000000 -0400
@@ -28,7 +28,7 @@
mount --version | awk -F\- '{print "mount ", $NF}'
-depmod -V 2>&1 | grep version | awk 'NR==1 {print "module-init-tools ",$NF}'
+depmod -V 2>&1 | grep "module-init-tools" | awk 'NR==1 {print "module-init-tools ",$NF}'
tune2fs 2>&1 | grep "^tune2fs" | sed 's/,//' | awk \
'NR==1 {print "e2fsprogs ", $2}'
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-08-04 23:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-04 23:23 [PATCH][TRIVIAL][2.6] Bugzilla bug # 267 - ver_linux script fails to give module-init-tools version Josef Jeff Sipek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).