cvs commit: src/release/alpha dokern.sh

Ruslan Ermilov ru at FreeBSD.org
Mon Nov 10 20:55:07 PST 2003


On Sun, Aug 31, 2003 at 11:21:27AM -0700, Wilko Bulte wrote:
> wilko       2003/08/31 11:21:27 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:        (Branch: RELENG_4)
>     release/alpha        dokern.sh 
>   Log:
>   alpha does not have apm, not in GENERIC either. So dokern.sh has
>   no business trying to remove it.
>   
>   Approved by: re (scottl)
>   
>   Revision  Changes    Path
>   1.56.2.7  +0 -1      src/release/alpha/dokern.sh
> 
You can dike even more using the below patched script:

%%%
Index: tools/tools/release/chk_dokern.sh_and_drivers.conf
===================================================================
RCS file: /home/ncvs/src/tools/tools/release/chk_dokern.sh_and_drivers.conf,v
retrieving revision 1.1
diff -u -p -u -r1.1 chk_dokern.sh_and_drivers.conf
--- tools/tools/release/chk_dokern.sh_and_drivers.conf	28 Jul 2003 18:18:20 -0000	1.1
+++ tools/tools/release/chk_dokern.sh_and_drivers.conf	31 Aug 2003 19:41:01 -0000
@@ -31,7 +31,7 @@ for f in */drivers.conf; do
 	arch=`dirname $f`
 	grep -v '^#' $f  | grep -v '^$' | awk '{ print $1 }' |
 	while read x; do
-	        egrep -qw "^(device|options)[[:space:]]+$x" ../sys/${arch}/conf/GENERIC || \
+	        egrep -qw "^((pseudo-)?device|options)[[:space:]]+$x" ../sys/${arch}/conf/GENERIC || \
 		    echo $x not found in $arch/GENERIC
 		sed -e'/"SMALL"/,/^else$/d' ${arch}/dokern.sh | \
 		    grep -qw $x && \
@@ -46,7 +46,7 @@ for f in */dokern.sh; do
 	grep -w -- -e | sed -e's,^[^/]*/,,' -e's,/.*$,,' |
 	grep -v '^ident\.\*GENERIC$' |
 	while read x; do
-	        egrep -q "^(device|options|makeoptions)[[:space:]]+$x" \
+	        egrep -q "^((pseudo-)?device|options|makeoptions)[[:space:]]+$x" \
 		    ../sys/${arch}/conf/GENERIC || \
 		    echo $x not found in $arch/GENERIC
 		grep -qw ^$x ${arch}/drivers.conf && \
%%%


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru at sunbay.com		Sunbay Software Ltd,
ru at FreeBSD.org		FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20031111/f733bb2a/attachment.bin


More information about the cvs-src mailing list