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

[debian-devel:13002] [FWD] Re: [debian installer] main menu



佐野@浜松です。

 woody 版インストーラの話題。debian-boot List より。

In <20001005035304.C8518@xxxxxxxxxxx>,  on "Thu, 5 Oct 2000 03:53:04 -0700',
   with "[debian installer] main menu", Joey Hess <joeyh@debian.org> さん wrote:

> Just thought I'd mention I now have a rudimentary little 6k program written
> that uses debconf to display the main menu for the installer, after
> processing the status file and sorting it in various ways to properly order
> the menu. Here is it running on a sample status file I've check into cvs:
> 
> joey@kite:~/debian/packages/debian-installer/main-menu>DEBIAN_FRONTEND=text make demo
> cc -Wall -g   -c -o debconf.o debconf.c
> cc -Wall -g   -c -o main-menu.o main-menu.c
> cc -Wall -g   -c -o status.o status.c
> cc -o main-menu debconf.o main-menu.o status.o 
> /usr/share/debconf/frontend ./main-menu
> Configuring 
> ------------
> 
> Here is the main menu of the Debian installer. 
> 
>   s. Setup the network manually    
>   a. Setup the network with DHCP   
>   c. Configure installation media  
>   p. Partition disk                
>   f. Format and mount partitions
>   i. Install base system
>   b. Install lilo
>   m. Make a rescue floppy
>   r. Reboot the system
> 
> Choose the next step: 
> 
> If you're wondering why it put the network setup stuff first -- the configure
> installation media step depends on a retreiver module, of which there are two
> listed in the status file: http-retreiver and floppy-retreiver. http-retreiver
> depends on network, which is provided by the two network setup packages.
> 
> It doesn't yet know how to pick the default item or what to do once an item
> is picked; I'll be adding code for that next.
> 
> For an example of how changing the status file can dynamically change the
> menu order, here's what happens if I edit the status file so 
> "format-partitions" depends on "rescue-floppy" (not that that makes any
> sense..):
> 
>   s. Setup the network manually   
>   a. Setup the network with DHCP   
>   c. Configure installation media 
>   p. Partition disk               
>   m. Make a rescue floppy        
>   f. Format and mount partitions
>   i. Install base system
>   b. Install lilo
>   r. Reboot the system
> 
> -- 
> see shy jo

In <20001005145923.H8518@xxxxxxxxxxx>,  on "Thu, 5 Oct 2000 14:59:23 -0700',
   with "Re: [debian installer] main menu", Joey Hess <joeyh@debian.org> さん wrote:

> Peter Novodvorsky wrote:
> > I want to add, that until we have i18n'ed debconf and dpkg,
> 
> Um, debconf is already i18n's, as far as I know.
> 
> > debian-installer won't support any other languages than english.
> > It's not good. This subject (i18n'izing of dpkg) was discussed in
> > debian-i18n and debian-dpkg, AFAIR, and if that thoughts wil came to
> > reality installer will support many languages automatically. (!)  
> 
> Ugh. That's a very good point. I'm not going to hold my breath waiting
> for dpkg to support some way to translate package descriptions.
> 
> I will need to come up with some workaround in the meantime. I'm looking
> at two ideas: either use a seperate file in each package for the menu
> data (and just use the control file for dependency info), or add
> Description-<LL> items to the debian-installer packages even though dpkg
> won't know what to do with them yet.
> 
> -- 
> see shy jo

なんとなく woody では Description-<LL> の利用が実現しそうという
期待が持てそうな気がします。

 # 抱えてる分、なんとかしなくちゃ。

-- 
     # (わたしのおうちは浜松市、「夜のお菓子」で有名さ。)
    <kgh12351@xxxxxxxxxxx> : Taketoshi Sano (佐野 武俊)