[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#678611: debian-installer: Add more early/late hooks

Daniel Dehennin wrote:
> As I setup a preseed configuration based on hands-off[1], I get troubles
> configuration "d-i mirror/" and "d-i apt-setup/localX" depending on the
> network configuration.
> I'm using a full CD, so adding entries to sources.list is optional, but
> if the network is up, I would like to configure them and make a full
> upgrade.
> The HandsOff early_scripts are run by "d-i preseed/early_command" and
> when using a full CD, this happens before network get configured.
> My proposal is to add pre/post hooks at all the steps, with this I could
> register a "d-i base-installer/early_command" which tests if network is
> up and the mirror reachable and configure apt-setup.

There is already the /usr/lib/base-installer.d/ and
/usr/lib/post-base-installer.d/ directories, which
earlier hooks can drop scripts into. apt-setup also has its own 

see shy jo

Attachment: signature.asc
Description: Digital signature

Reply to: