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>

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

--M/SuVGWktc5uNpra
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--M/SuVGWktc5uNpra
Content-Type: application/x-tar-gz
Content-Disposition: attachment; filename="split.tgz"
Content-Transfer-Encoding: base64

H4sIAFLv4ToAA+08bXPbNtL9Kv0KWFYrKbFEy7bsXBz7ksZOm2neJsl12okThSYhiWeK1EOQ
fomj++3P7gIgQYqWFDdJ5+aEyTgksFgs9g27ACgnDAbe8IdvWrqbm7s7O+wHxrpbWz3zf1l2
truM7W3t9vZ2ut1NeIa/m5s/sM1vS5YsiYjtiLEfRMzP+Ry4Re3/pWW9us5cTzjMCwZhNLZj
LwyqWPmE3u7DE7X3A3vMKxPbObOHXPRf/laB2njg+fLFPrc93z71eV8ADAcM2Klb6VY2Kzso
TSxUt0V18nmbnnd7ZvtOSV2vgpjydbsldXsldfdK6v5RUmcX6v5uwXyn4oZe3BGjbzoGyH+v
17vR/vd2ejto/3ub27u7u3vbaP/d3t7K/r9HWV+zTr3AEqMqWEF08BH+oKWz+ubHqjdg71jt
jzrU1dgBPHVq7P0+i0c8qKJXAPDJhfuxOvCq1fWvWsgDvb3g9hmOJjib2BFQFfNIsDhk4Jic
EbsKk4g5tH4lETkuZgcuNJ5xJpKII6Qz4s4Z4IpHdoyoZnwdPCsczBPwFEXciTs0/p9h0vB9
ZvsiZBd2ECO+iQ/ejdkMoDjUOOHkioUDNom8IG47bhSO29pHglUhchgUcNWFE3mTWCDXYIAw
usIxgIuTMIrFQQ15bNFzjVgrqJIqrNTRYhPzw6GGH/KAqiZnwwxaD2898v1aVQ2rOqg36nTp
8slB7Y8nEef3dtvbne3Obv9erYoz/7qirMZcxKztsjqSzj5/ZuMzIIa1J7KmKvVsDUHUJEw1
05yzBI+TCTAV6rgzClmtlj49T0UOOsFi0huasJIsCE4kXiw1JuDcFZ2agQb1l57bAas9jrgd
o4h9YDvKNgLyI8+JuctICv9k74L3rFYFOBcUTkjy/6jDIxjJH1esHWZvf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v9jUrx1zW/xRiL738bv//So/ufm93V
739/l1L4/d+adW7L3+egb9Es9TGYFXHcPOLC2ulsv66pH+IipyR/wZbFEZd5ahXZefnpfMCy
37TtQF1n+Kkqf7mi8Ku2LP+7tSbumR3+avrTsYVOeP3utRpRX7JagDgjoAxz2mqiTiutGai/
W46rsiqrsiqrsiqrsiqrsiqrsiqrsiqrsiqrsiqrsiqrsiqrsiq6/D8sAeQrAHgAAA==

--M/SuVGWktc5uNpra--

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




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