Date: Wed, 15 Oct 2008 15:54:33 +0000 (UTC) From: Ken Smith <kensmith@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/sysinstall config.c globals.c index.c package.c sysinstall.h Message-ID: <200810151554.m9FFssaL040221@repoman.freebsd.org>
index | next in thread | raw e-mail
kensmith 2008-10-15 15:54:33 UTC
FreeBSD src repository
Modified files:
usr.sbin/sysinstall config.c globals.c index.c package.c
sysinstall.h
Log:
SVN rev 183921 on 2008-10-15 15:54:33Z by kensmith
Package installation is handled by starting off with the list of packages
the user selected and then recursively installing their dependencies, finally
installing the ones the user selected after the recursion unwinds. Since
users often select "high-level" packages that are on a higher numbered
disc for the multi-volume release CDROMS this resulted in excessive disc
swapping while installing things like kde, gnome, etc.
Cut down on disc swapping by iterating through the disc volumes one at a
time if we notice the package set is on multiple volumes. If a package
is on a higher volume don't install it yet, but still "process it" so we
get its dependencies installed. Because of the way the package sets for
releases get assembled we're guaranteed dependencies will be on the same
volume or lower.
Reviewed by: jhb
MFC after: 1 week
Revision Changes Path
1.246 +9 -2 src/usr.sbin/sysinstall/config.c
1.28 +3 -0 src/usr.sbin/sysinstall/globals.c
1.118 +51 -5 src/usr.sbin/sysinstall/index.c
1.106 +1 -1 src/usr.sbin/sysinstall/package.c
1.278 +5 -1 src/usr.sbin/sysinstall/sysinstall.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810151554.m9FFssaL040221>
