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

Re: cvs commit to debian-installer/tools/cdrom-detect/debian by barbier



tor 2002-11-21 klockan 10.28 skrev Martin Sjögren:
> 1. Language
> 2. Debconf priority (carefully phrased)
> 3. Distribution (as low priority as possible, with the obvious default!)
> 
> Where should this be put? /sbin/debian-installer?

I experimented briefly with doing the following change to
/sbin/debian-installer:

@@ -10,4 +10,5 @@

 /usr/bin/udpkg --configure rootskel
 /usr/bin/debconf-loadtemplate debian /var/lib/dpkg/info/*.templates
+/usr/share/debconf/frontend /sbin/di-init
 /usr/share/debconf/frontend /usr/bin/main-menu


/sbin/di-init currently looks like this:

#!/bin/sh

. /usr/share/debconf/confmodule

db_title Welcome to the Debian Installer

db_input medium debconf/priority
db_go

db_input low mirror/distribution
db_go


What I want it to look like, is this:

#!/bin/sh

. /usr/share/debconf/confmodule

db_title Welcome to the Debian Installer

db_input medium debian-installer/language
db_go

db_input medium debian-installer/priority
db_go
db_get debian-installer/priority
db_set debconf/priority $RET
db_fset debconf/priority seen true

db_input low debian-installer/distribution
db_go


Perhaps (or rather, it's highly damn bloody likely), we'll have to split
the script into two, one for the language, and one for post-language
choice, as debconf has to be restarted and an environment variable set.
Oh well, this is an idea anyway.

The reason for using debian-installer/priority and forcibly setting
debconf/priority is that the message can be specialized for the
installer to be easier to understand, but it's silly to put that in
cdebconf.

Perhaps we want to start by putting up a note with a welcoming message,
or should that message be in the language question? Doesn't really
matter, and it's mainly cosmetics.

Oh, note that this isn't committed. Should I?


/Martin

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


Reply to: