Skip site navigation (1)Skip section navigation (2)
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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