On 13/04/10 1:36 AM, Simon Richter wrote:
That is the exact definition of "Essential: yes". Bootstrapping a systemAbsolutely. The aim should be to avoid using the target system at all, except for final install :) The main issue I can see is _if_ the system installs binary executables that must be run on the target during configuration. Architecture independent scripts (sh, python, perl, etc) should be able to run on the host. I would like someway to configure these on the host and have them set on the target, preferably with the packages believing they are already configured, or as an alternative, configuring using a known set of values (pre-seed ??) In fact, I don't have a requirement for dpkg, apt, etc to be installed or run on the target. My main requirement is:
Determining before trying would be ideal. Aborting during install is not ideal at all -- especially if your talking about an install/upgrade to a live system. It's ok to abort at any stage during the build process on the host, or during the install/upgrade to target if installing to a non-live system (e.g. an unused partition).My current approach is to basically follow Debian, but try to interpret the maintainer scripts on the host system and translate them as required. My first implementation goes toward full static analysis (so we can decide whether the installation will work before trying it), I'm not sure whether it will actually work this way, or if we have to start deferring such decisions and possibly abort in the middle of things. Cheers, Brendan. |