diff options
author | phk <phk@FreeBSD.org> | 2011-10-23 19:46:01 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2011-10-23 19:46:01 +0000 |
commit | eb67f83b02065565ec24b8ab3da09fc389452cda (patch) | |
tree | ae52f2e93c3dc2fee1875b6976293fef28ba3ef9 /sys/kern/vfs_mountroot.c | |
parent | 2a95de90da8deb3bce8d0b7e322530d4e87a06a5 (diff) | |
download | FreeBSD-src-eb67f83b02065565ec24b8ab3da09fc389452cda.zip FreeBSD-src-eb67f83b02065565ec24b8ab3da09fc389452cda.tar.gz |
Add a "-P olddistfiles" facility to prefetch ports distfiles, using an
old distfile directory as primary source:
mkdir /freebsd/ports/distfiles.old
mv /freebsd/ports/distfiles/* /freebsd/ports/distfiles.old
sh sysbuild.sh -c $yourconfig -P /freebsd/ports/distfiles.old
rm -rf /freebsd/ports/distfiles.old
Unfortunately bsd.ports.mk does not attempt to use a hard-link so
while this runs you need diskspace for both your old and your "new"
distfiles.
Diffstat (limited to 'sys/kern/vfs_mountroot.c')
0 files changed, 0 insertions, 0 deletions