Date: Sat, 21 Apr 2001 15:57:31 -0500 From: Steve Price <steve@havk.org> To: freebsd-stable@FreeBSD.ORG Subject: Re: The RELENG_4 (aka -stable) branch is now unfrozen Message-ID: <20010421155731.L41536@bsd.havk.org> In-Reply-To: <200104211945.VAA18844@lurza.secnetix.de>; from olli@secnetix.de on Sat, Apr 21, 2001 at 09:45:14PM %2B0200 References: <20010421105640G.jkh@osd.bsdi.com> <200104211945.VAA18844@lurza.secnetix.de>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On Sat, Apr 21, 2001 at 09:45:14PM +0200, Oliver Fromme wrote:
>
> PS: Steve, I'd love to see your package split script.
See the attached tarball. Not much in the way of instructions
yet but essentially here's what you do.
- Unpack the tarball in a clean directory on a box with a lot of
space. You'll need at least twice as much space as it takes
for all of the packages and distfiles combined. Note: not
having any distfiles is okay too just as I suppose not having
any packages would be (never tried it).
- Tweak 'config' to tell it how many discs you have, what their
names are, whether you want distfiles, packages, or both on
them, and how much room is available on them.
- Tweak scripts/setup.sh to point to the directory where the
ports tarball, packages, and distfiles live on the local machine.
If they aren't on the local machine then do by hand what this
script would do for you otherwise.
- Run ./doit.sh and sit back and wait.
I left the interaction in doit.sh because in the early days I
found myself having to repeat this process quite often. If you
don't want the interaction then add 'ans=Y' somewhere at the
top of the script and comment out the 'read ans' lines.
If you want to do a dry run then set '$fake = 1' in
scripts/oneshot.pl. This will go through all the motions but
won't copy the packages or distfiles. Instead it touch(1)s them
when building the discs.
The algorithm used to place packages/distfiles is pretty simple-
minded right now. Basically it places all of the required packages
and their dependencies on each disc and then starts with the
smallest of the remaining packages and their dependencies moving
them over until that disc is full and then moving to the next one.
Packages get preferential treatment in that they are handled first
then the distfiles. Having the small ones placed before the big
ones (at least in theory) means we maximize the number of packages
on a given set of discs.
Oh and one more thing all of the packages and distfiles that don't
fit on the discs you define will get placed on a 'scratch' disc
along with any dependencies so you can use them for Toolkit CD
sets if you want. :)
-steve
[-- Attachment #2 --]
R: <ms6*
XV+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