cvs commit: src/release/scripts package-trees.sh

John Baldwin jhb at FreeBSD.org
Tue May 3 06:14:05 PDT 2005


On May 3, 2005, at 12:19 AM, Marcel Moolenaar wrote:

> marcel      2005-05-03 04:19:07 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     release/scripts      package-trees.sh
>   Log:
>   Remove only the packages sub-directory before recreating it. Do not
>   remove the whole disc treei structure. This allows one to specify the
>   disc trees created by a prior release build (under R/cdrom) as the
>   destination without destroying the contents. This better integrates
>   with release building and makes further automation easier.

Hmm, the idea from an automation standpoint is that you'd build the 
packages before you built the release, kind of like how we do 
'PREFETCH_DISTFILES' now FWIW.  Scott had asked if I could modify the 
scripts to handle a PKG_TREE that was a URL and maybe use fetch so you 
could do something like:

make PKG_TREE=ftp://somewhere/pub/packages-fun package-split 
PKG_DEST=/localpkgs
make CD_PACKAGE_TREE=/localpkgs release

Right now you would do the first step on ftp-master and scp /localpkgs 
over to the machine doing the release build.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



More information about the cvs-src mailing list