Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2003 04:55:08 -0000
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Wilko Bulte <wilko@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/release/alpha dokern.sh
Message-ID:  <20031111040736.27130.qmail@exxodus.fedaykin.here>
In-Reply-To: <200308311821.h7VILRvS067006@repoman.freebsd.org>
References:  <200308311821.h7VILRvS067006@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--bg08WKrSYDhXBjb5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

%%%
Index: tools/tools/release/chk_dokern.sh_and_drivers.conf
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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=3D`dirname $f`
 	grep -v '^#' $f  | grep -v '^$' | awk '{ print $1 }' |
 	while read x; do
-	        egrep -qw "^(device|options)[[:space:]]+$x" ../sys/${arch}/conf/G=
ENERIC || \
+	        egrep -qw "^((pseudo-)?device|options)[[:space:]]+$x" ../sys/${ar=
ch}/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,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software Ltd,
ru@FreeBSD.org		FreeBSD committer

--bg08WKrSYDhXBjb5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE/Uk+hUkv4P6juNwoRAg07AJ49lMQtqzxyMr8f5qDhZXjAL0CorgCeKKPX
XjBMEYmn3M19KZNX31qOIXk=
=5jPD
-----END PGP SIGNATURE-----

--bg08WKrSYDhXBjb5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031111040736.27130.qmail>