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

Re: d-i ramblings



David Whedon wrote:
> Tue, Feb 13, 2001 at 10:34:54AM -0800 wrote:
> > David Whedon wrote:
> > > 1. I'm thinking that it would be nice to have an 'Execute a shell' main-menu
> > > entry.  I haven't actually tried to make it, but it seems to me that the current
> > > main-menu structure won't allow that.
> > 
> > You can actually escape outside debconf by redirecting stdin and stdout
> > to /dev/tty. It's a hack, but it works.
> 
> Clever.  I have some preliminary work on allowing us to get out of debconf.  I'm
> basically adding a bit to the control file:
> 
> Package: di-shell
> Architecture: any
> Depends: ${shlibs:Depends}
> XBC-installer-menu-item: 2, no-debconf
> Description: Execute a shell
>  Use this module to execute an interactive shell within debian-installer.
> 
> 
> When main-menu sees that it does the right thing.  With the /dev/tty trick I
> think I'll be able to break out of the debconf box.

So we really need support for this in main-menu? It seems it should be
rare enough that a module that needs to do it can register a normal menu
entry, then redirect stdin/out by hand when it is run.

> Maybe each module has its own help (I'm afraid things wouldn't be terribly
> coherent, and we risk both duplication and omission).

Yeah, I have the same concerns.

-- 
see shy jo



Reply to: