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

Re: cdebconf-slang-udeb for use in cdrom 2.88 MiB floppy?



On Sat, Jan 25, 2003 at 12:07:29PM +0100, Petter Reinholdtsen wrote:
> [Matt Kraai]
> > I don't know if this is the best way to get a new frontend, but if
> > so, you'll need to unset DEBIAN_FRONTEND after running main-menu.
> 
> Eh, why?  My thought was that the for loop would detect the new
> frontend and use it instead of the previous one.

As you coded it, we will only loop through frontends if
DEBIAN_FRONTEND is unset, which it will never be after the first
time through.  If you unset it after exiting main-menu, a new
frontend will be chosen.

> But there is really two problems we try to solve
> 
>  - choose the default frontend at boot time

We can do this by setting DEBIAN_FRONTEND on the init line.

>  - switch frontend at run time after some udebs where installed by
>    anna.

Your code (with the aforementioned tweak) should do this.  I don't
know if this is the best way, however.

Matt



Reply to: