Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2003 10:28:05 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/release/scripts doFS.sh src/release/sysinstall Makefile
Message-ID:  <20030307082805.GA7467@sunbay.com>
In-Reply-To: <200303070818.h278I08L011979@repoman.freebsd.org>
References:  <200303070818.h278I08L011979@repoman.freebsd.org>

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

--Pd0ReVV5GZGQvF3a
Content-Type: multipart/mixed; boundary="6c2NcOVqGQ03X4Wi"
Content-Disposition: inline


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

There are some tweaks that need to be done for this to work.

1.  You need to install the Perl port under ${CHROOTDIR}.

2.  Because you're using the 4.x release/Makefile (you should),
    you must mount_devfs manually into the ${CHROOTDIR}/dev.
    (This can easily be dealt with automatically by merging
    the devfs portion of the -CURRENT src/release/Makefile.)

3.  newfs(8) has issues (creates too many cylinder groups for
    a 1.44MB floppy) as compared to 4.x.  Important: this also
    similarly affects the free space for 5.x floppies -- it
    just wastes their free space for no good reason.

Attached is the script that I use as LOCAL_SCRIPT that does
1 and 2.

On Fri, Mar 07, 2003 at 12:18:00AM -0800, Ruslan Ermilov wrote:
> ru          2003/03/07 00:18:00 PST
>=20
>   FreeBSD src repository
>=20
>   Modified files:        (Branch: RELENG_4)
>     release/scripts      doFS.sh=20
>     release/sysinstall   Makefile=20
>   Log:
>   A dozen developers demanded on having the ability to build
>   RELENG_4 snapshots on their fast 5.0-CURRENT machines.
>  =20
>   Here is the RELENG_4 portion of the patch that makes it
>   possible; it has been verified to be almost no-op for 4.x
>   doing a RELENG_4 snapshot.
>  =20
>   The HEAD portion of the patch is to make newfs(8) create
>   1 cylinder group for the 1.44MB floppy, like is the case
>   in 4.x, that is currently being discussed in -current.
>  =20
>   Approved by:    re
>  =20
>   Revision   Changes    Path
>   1.24.2.11  +10 -1     src/release/scripts/doFS.sh
>   1.92.2.22  +3 -2      src/release/sysinstall/Makefile

--=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

--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=script

#!/bin/sh
mount_devfs devfs ${CHROOTDIR}/dev
cp /usr/ports/lang/perl5/perl-5.6.1_11.tbz ${CHROOTDIR}
chroot ${CHROOTDIR} pkg_add /perl-5.6.1_11.tbz

--6c2NcOVqGQ03X4Wi--

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

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

iD8DBQE+aFgVUkv4P6juNwoRAn4BAJ0S/odcGyvF8fvhxTEQIzl+/sABvQCeOb6J
WuloytDOvxoWRITtXbnQvzM=
=taZT
-----END PGP SIGNATURE-----

--Pd0ReVV5GZGQvF3a--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message




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