Re: [PATCH] 2.6.12-rc1-mm3 Fix ver_linux script for no udev utils.

2005-04-08 Thread Greg KH
On Tue, Mar 29, 2005 at 09:30:56AM -0700, Steven Cole wrote:
> 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.
> 
> Steven
> TSPA (Technical data or Software Publicly Available)

Applied, thanks.

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] 2.6.12-rc1-mm3 Fix ver_linux script for no udev utils.

2005-04-08 Thread Greg KH
On Tue, Mar 29, 2005 at 09:30:56AM -0700, Steven Cole wrote:
 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.
 
 Steven
 TSPA (Technical data or Software Publicly Available)

Applied, thanks.

greg k-h
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] 2.6.12-rc1-mm3 Fix ver_linux script for no udev utils.

2005-03-29 Thread 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.
Steven
TSPA (Technical data or Software Publicly Available)


Signed-off-by: Steven Cole <[EMAIL PROTECTED]>

--- linux-2.6.12-rc1-mm3/scripts/ver_linux.orig 2005-03-29 08:52:35.0 
-0700
+++ linux-2.6.12-rc1-mm3/scripts/ver_linux  2005-03-29 09:04:37.0 
-0700
@@ -87,7 +87,7 @@
 
 expr --v 2>&1 | awk 'NR==1{print "Sh-utils  ", $NF}'
 
-udevinfo -V | awk '{print "udev  ", $3}'
+udevinfo -V 2>&1 | grep version | awk '{print "udev  ", $3}'
 
 if [ -e /proc/modules ]; then
 X=`cat /proc/modules | sed -e "s/ .*$//"`


[PATCH] 2.6.12-rc1-mm3 Fix ver_linux script for no udev utils.

2005-03-29 Thread 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.
Steven
TSPA (Technical data or Software Publicly Available)


Signed-off-by: Steven Cole [EMAIL PROTECTED]

--- linux-2.6.12-rc1-mm3/scripts/ver_linux.orig 2005-03-29 08:52:35.0 
-0700
+++ linux-2.6.12-rc1-mm3/scripts/ver_linux  2005-03-29 09:04:37.0 
-0700
@@ -87,7 +87,7 @@
 
 expr --v 21 | awk 'NR==1{print Sh-utils  , $NF}'
 
-udevinfo -V | awk '{print udev  , $3}'
+udevinfo -V 21 | grep version | awk '{print udev  , $3}'
 
 if [ -e /proc/modules ]; then
 X=`cat /proc/modules | sed -e s/ .*$//`