From owner-cvs-all Sat May 25 6:15: 4 2002 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 89DB837B408; Sat, 25 May 2002 06:14:47 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g4PDEP648383; Sat, 25 May 2002 16:14:25 +0300 (EEST) (envelope-from ru) Date: Sat, 25 May 2002 16:14:24 +0300 From: Ruslan Ermilov To: Takahashi Yoshihiro Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile Makefile.inc1 src/etc Makefile src/gnu/usr.bin/perl/library Makefile.inc src/release Makefile src/release/scripts catpages-make.sh doFS.sh manpages-make.sh src/secure/usr.bin/ssh Makefile src/secure/usr.sbin/sshd Makefile ... Message-ID: <20020525131424.GH35106@sunbay.com> References: <200204261755.g3QHtRv72264@freefall.freebsd.org> <20020524.154011.102579667.nyan@jp.FreeBSD.org> <20020524072243.GA81964@sunbay.com> <20020525.143643.112587985.nyan@jp.FreeBSD.org> <20020525093428.GA28250@sunbay.com> <20020525105114.GA35106@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TmwHKJoIRFM7Mu/A" Content-Disposition: inline In-Reply-To: <20020525105114.GA35106@sunbay.com> User-Agent: Mutt/1.3.99i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --TmwHKJoIRFM7Mu/A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 25, 2002 at 01:51:14PM +0300, Ruslan Ermilov wrote: > On Sat, May 25, 2002 at 12:34:28PM +0300, Ruslan Ermilov wrote: > > On Sat, May 25, 2002 at 02:36:43PM +0900, Takahashi Yoshihiro wrote: > > > In article <20020524072243.GA81964@sunbay.com> > > > Ruslan Ermilov writes: > > >=20 > > > > > This broke making release for pc98. It makes two kernel floppy im= ages > > > > > for pc98, the one is a normal image, the two is a small (1.2M) im= age > > > > > for old PC-9801 machines without 1.44M floppy support. > > > > >=20 > > > > Please test this patch: > > >=20 > > > I have changed it for catching up perl->awk change, and try to test. > > > But I have the following error. > > >=20 > > > ftp://snapshots.pc98.jp.freebsd.org/pub/FreeBSD/snapshots/pc98/5.0-CU= RRENT-20020525-SNAP-PC98.log > > >=20 > > > snapshots.jp has the same error. > > >=20 > > > ftp://snapshots.jp.freebsd.org/pub/FreeBSD/snapshots/i386/5.0-CURRENT= -20020525-JPSNAP.log > > >=20 > > Please change "awk" to "gawk" for now. gensub() is the gawk(1)'s exten= sion, > > and one-true-awk doesn't seem to support one, and I'm testing "make rel= eases" > > on 4.x box. I will look into fixing the scripts to be portable (one qu= ick > > solution might be to bootstrap gnu/usr.bin/awk for "make release", and = use > > gawk in release/Makefile). > >=20 > > gensub() has a nice feature of handling \[0-9] escapes in the replaceme= nt > > string, which I needed. > >=20 > OK, I have now committed the versions that work with one-true-awk as well. > Thanks for the spot! >=20 Now I realized that we don't actually need two calls to createBOOTMFS. Please try this patch instead. I will try it too, and if it works will commit it without waiting for you. :-) %%% Index: Makefile =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/release/Makefile,v retrieving revision 1.681 diff -u -r1.681 Makefile --- Makefile 24 May 2002 11:03:40 -0000 1.681 +++ Makefile 25 May 2002 13:12:17 -0000 @@ -643,18 +643,6 @@ @cp ${RD}/trees/base/boot/mbr ${RD}/mfsfd/boot .endif @cp ${RD}/trees/base/boot/loader.help ${RD}/mfsfd/boot - @cd ${.CURDIR}/../sys/${TARGET}/conf && \ - sh ${.CURDIR}/${TARGET_ARCH}/dokern.sh ${FDSIZE} < GENERIC > BOOTMFS = && \ - [ -r GENERIC.hints ] && cp GENERIC.hints BOOTMFS.hints -.if exists(${.CURDIR}/${TARGET}/drivers.conf) - @awk -f ${.CURDIR}/scripts/driver-remove.awk \ - ${.CURDIR}/${TARGET}/drivers.conf \ - ${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS - @mkdir -p ${RD}/mfsfd/stand/modules - @awk -f ${.CURDIR}/scripts/driver-copy2.awk \ - ${.CURDIR}/${TARGET}/drivers.conf \ - ${RD}/trees/base/boot/kernel ${RD}/mfsfd/stand/modules -.endif @echo "Making the regular boot floppy." @tar --exclude CVS -cf - -C ${.CURDIR}/../usr.sbin/sysinstall help | \ tar xf - -C ${RD}/mfsfd/stand @@ -663,6 +651,12 @@ .if ${TARGET_ARCH} =3D=3D "alpha" rm -rf ${RD}/mfsfd/stand/help/* .endif +.if exists(${.CURDIR}/${TARGET}/drivers.conf) + @mkdir -p ${RD}/mfsfd/stand/modules + @awk -f ${.CURDIR}/scripts/driver-copy2.awk \ + ${.CURDIR}/${TARGET}/drivers.conf \ + ${RD}/trees/base/boot/kernel ${RD}/mfsfd/stand/modules +.endif sh -e ${.CURDIR}/scripts/doFS.sh -s mfsroot ${RD} ${MNT} \ ${MFSSIZE} ${RD}/mfsfd ${MFSINODE} ${MFSLABEL} @gzip -9vc mfsroot > mfsroot.gz @@ -927,6 +921,14 @@ doMFSKERN: @echo "Running ${.TARGET} for ${FSIMAGE}" @rm -f ${RD}/kernels/BOOTMFS ${RD}/kernels/BOOTMFS.${FSIMAGE} + @cd ${.CURDIR}/../sys/${TARGET}/conf && \ + sh ${.CURDIR}/${TARGET_ARCH}/dokern.sh ${FDSIZE} < GENERIC > BOOTMFS = && \ + [ -r GENERIC.hints ] && cp GENERIC.hints BOOTMFS.hints +.if exists(${.CURDIR}/${TARGET}/drivers.conf) + @awk -f ${.CURDIR}/scripts/driver-remove.awk \ + ${.CURDIR}/${TARGET}/drivers.conf \ + ${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS +.endif cd ${.CURDIR}/..; \ KERNEL_KO=3DBOOTMFS KODIR=3D \ ${CROSSMAKE} ${KERNEL_FLAGS} -DNO_WERROR -DNO_MODULES -DNO_KERNELCLEA= N \ %%% Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --TmwHKJoIRFM7Mu/A Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8744wUkv4P6juNwoRAoXeAJ9DY11xYWwpaGQRfT+m/fCEBBnEvACfbPFM 13mONr0Wjz4xMFlNFEnzusI= =+24C -----END PGP SIGNATURE----- --TmwHKJoIRFM7Mu/A-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message