[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

@@ -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:


. /usr/share/debconf/confmodule

db_title Welcome to the Debian Installer

db_input medium debconf/priority

db_input low mirror/distribution

What I want it to look like, is this:


. /usr/share/debconf/confmodule

db_title Welcome to the Debian Installer

db_input medium debian-installer/language

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

db_input low debian-installer/distribution

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

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?


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

Reply to: