On Saturday 01 July 2006 17:53, Frans Pop wrote:
I've drawn some conclusions for myself based on this data, but am
curious what others think.
Here's one of the ideas I had to reduce the current memory
requirements of
the installer.
Instead of installing partman-crypto itself and all its
dependencies, only
install a "placeholder" udeb that contains just enough
functionality to
be able to show the basic options to the user (if the system has
sufficient memory) and that pulls in the "real" partman-crypto
(with its
total of 2.5 MB of dependencies) only if the user actually selects it.
The attached patch is untested, but I think it implements this
idea. This
does involve some code duplication, but the resulting
partman-crypto-placeholder udeb is relatively so small that I feel
it is
worth it.
Note: the patch is only meant as a proof of concept at the moment.
This solution not only reduces the memory footprint of a basic
installation, but only the udeb download for network based installs.
Comments welcome.
<partman-crypto-placeholder.patch>