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

Bug#334994: debian-installer/function=rescue



Geert Stappers wrote:
> Currently is the rescue mode activated by
> 
>    rescue/enable=true
> 
> I wish to have that changed into more generic like
> 
>    debian-installer/function=rescue
> 
> 
> That "hook" will allow activation of other functions of debian-installer
> like network-console, sshclient, cloning or whatever ...

Well it seems like a good idea on the surface, if the handler for this
is built into d-i and it causes it to anna-install the listed component. 

Dig a little deeper and it's not so straightforward. rescue-check, which
this would replace, does more than anna-install to enable rescue mode:

        anna-install rescue-mode
        # Disable installation of many Priority >= standard udebs.
        db_set anna/standard_modules false || true

lowmem is of course another example that's similar to rescue-check, except
lowmemcheck is even more elaborate.

So I'm not sure if a one purpose meets all hook will meet the most common
needs here, and we already have existing hooks to change what anna installs.
Those hooks could certianly stand to be improved.

For example, anna/choose_modules currently requires you to list to English
descriptions of the components to install. It should be more cleanly
preseedable with just the package names.

Oh yeah and anna also uses a separate question, anna/choose_modules_lowmem,
in some situations, and it doesn't just register the changed template
to the same question, so currently both would have to be preseeded.

So there's some simple things to work on in anna to make this kind
of stuff possible.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: