Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2004 17:45:27 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Takahashi Yoshihiro <nyan@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/release Makefile
Message-ID:  <20040129154527.GN19899@FreeBSD.org.ua>
In-Reply-To: <200401291514.i0TFExFH081348@repoman.freebsd.org>
References:  <200401291514.i0TFExFH081348@repoman.freebsd.org>

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

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

On Thu, Jan 29, 2004 at 07:14:59AM -0800, Takahashi Yoshihiro wrote:
> nyan        2004/01/29 07:14:59 PST
>=20
>   FreeBSD src repository
>=20
>   Modified files:
>     release              Makefile=20
>   Log:
>   The name of small boot floppy should be boot-small.flp to avoid conflic=
ting
>   normal size floppy.
>  =20
>   Reviewed by:    jhb
>  =20
>   Revision  Changes    Path
>   1.838     +2 -2      src/release/Makefile
> =20
Thanks!  This fix is also part of the larger patch I sent to John:

%%%
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.837
diff -u -r1.837 Makefile
--- Makefile	28 Jan 2004 09:19:16 -0000	1.837
+++ Makefile	28 Jan 2004 23:35:51 -0000
@@ -245,7 +245,7 @@
 .endif
 .endif
=20
-.if !defined(NOFLOPPIES)
+.if !defined(NO_FLOPPIES)
 EXTRAS=3D floppies.1 floppies.2 floppies.3
 .endif
 EXTRAS+=3D ftp.1
@@ -758,7 +758,7 @@
 	    KERNFILE=3D"${KERNFLOPPYSET}.split ${KERNFLOPPYSET}.boot" \
 	    MFSROOTFILE=3D"${MFSROOTFLOPPYSET}.split ${MFSROOTFLOPPYSET}.boot"
 .if defined(SMALLFLOPPYSIZE)
-	@cd ${.CURDIR} && ${MAKE} buildBootFloppy FSIMAGE=3D"boot" \
+	@cd ${.CURDIR} && ${MAKE} buildBootFloppy FSIMAGE=3D"boot-small" \
 	    KERNFILE=3D"${SMALLKERNFLOPPYSET}.split ${SMALLKERNFLOPPYSET}.boot" \
 	    MFSROOTFILE=3D"${SMALLMFSROOTFLOPPYSET}.split ${SMALLMFSROOTFLOPPYSET=
}.boot" \
 	    FDSIZE=3D"SMALL"
@@ -768,7 +768,7 @@
 	    KERNFILE=3D"${KERNFLOPPYSET}.split ${KERNFLOPPYSET}.boot" \
 	    MFSROOTFILE=3D${RD}/mfsroot/mfsroot.gz
 .if defined(SMALLFLOPPYSIZE)
-	@cd ${.CURDIR} && ${MAKE} buildBootFloppy FSIMAGE=3D"boot" \
+	@cd ${.CURDIR} && ${MAKE} buildBootFloppy FSIMAGE=3D"boot-small" \
 	    KERNFILE=3D"${SMALLKERNFLOPPYSET}.split ${SMALLKERNFLOPPYSET}.boot" \
 	    MFSROOTFILE=3D${RD}/mfsroot/mfsroot.gz \
 	    FDSIZE=3D"SMALL"
@@ -1082,7 +1082,7 @@
 .if !defined(SPLITFILE)
 	@echo "SPLITFILE undefined in ${.TARGET}" && exit 1
 .endif
-	${.CURDIR}/scripts/split-file.sh ${SPLITFILE} \
+	sh ${.CURDIR}/scripts/split-file.sh ${SPLITFILE} \
 	    ${RD}/floppyset/${FLOPPYBASE} ${FLPSPLITSIZE} "${FLOPPYDESC}"
 	( splitfile=3D${SPLITDIR}/`basename ${SPLITFILE}`.split ; \
 	lines=3D`cat $${splitfile} | wc -l`; \
%%%

This should also fix snapshot builds for architectures without
floppies.


Cheers,
--=20
Ruslan Ermilov
FreeBSD committer
ru@FreeBSD.org

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

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

iD8DBQFAGSqXUkv4P6juNwoRAqTtAJ9TsdnVLL/qnekjbZVhwWp1j4VMcACdHwtZ
QgjKVjMZ0esOUWY07WBvaSQ=
=CfbQ
-----END PGP SIGNATURE-----

--FilwpOHBrTVNlmJ3--



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