Dave Miner wrote:
Shawn Walker wrote:
If this install is being performed using the LiveCD contents, then offering selection of collections *before* installation isn't tenable if you want to provide accurate size requirements -- especially for network-based installs. It can certainly be done at the *end* of installation though, once an installed image is available with far less hassle.


That doesn't seem right - by including the live CD group in the plan calculation you'd get a correct aggregate size.

The issue at hand is that you need an image to perform plan calculations.

Some assumptions I'm making about the Live CD image:

* the live cd doesn't have a way to mount all of /var/pkg somewhere that is read-write and will have at least 100 megabytes (?) available

* that you want accurate size numbers that don't take into account extra files that the live cd contains that the installed image will not

Some issues you will currently face are:

* For an accurate, aggregate estimate, that up to 18 MiB of compressed manifest data would have to be retrieved since you'd have to use an empty image (around 65 MiB uncompressed). That's not counting the space you need for the catalogs and whatever else the package system needs.

* plan calculation on the scale you're talking about can take a very long time depending on available bandwidth and system speed, regardless of whether the LiveCD was used as the image or you used the installed system. This will be somewhat mitigated by the upcoming SAT solver, but not completely.

The primary point I was making earlier is that you won't be able to get accurate size numbers for individual collections for a network-based install without having an image you can use for that plan calculation.

That is, you can't tell the user on the welcome screen, right away in a few split seconds, that installing the LiveCD will take X amount of space, and each collection will use Y amount of space.

Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to