John Smith wrote:
> I see a different key type for some keys when I run 
> 'debconf-get-selections' or 'debconf-get-selections --installer'
> 
> This afternoon, in an attempt to try to resolve another problem, 
> I ran 6 (six) installs where I, after each install with different
> parameters, ran 'debconf-get-selections' and 
> 'debconf-get-selections --installer'. As an example of what goes wrong
> I picked 1 key out of each dumpfile and report it here. The problem
> is of course in the reported difference of the key type: boolean or
> string in this case.
> 
> Install# DEBCONF_PRIORITY type of   debconf-get-selections command     grep 
> 'only_debian' on output of 
>                           install                                      
> debconf-get-selection command
> 
> 1        critical         manual    debconf-get-selections             <none>
> 1        critical         manual    debconf-get-selections --installer d-i 
> grub-installer/only_debian      boolean true
> 2        critical         preseeded debconf-get-selections             d-i 
> grub-installer/only_debian      boolean true
> 2        critical         preseeded debconf-get-selections --installer d-i 
> grub-installer/only_debian      string  true
> 3        high             preseeded debconf-get-selections             d-i 
> grub-installer/only_debian      boolean true
> 3        high             preseeded debconf-get-selections --installer d-i 
> grub-installer/only_debian      string  true
> 4        low              manual    debconf-get-selections             <none>
> 4        low              manual    debconf-get-selections --installer d-i 
> grub-installer/only_debian      boolean true
> 5        low              preseeded debconf-get-selections             d-i 
> grub-installer/only_debian      boolean true
> 5        low              preseeded debconf-get-selections --installer d-i 
> grub-installer/only_debian      string  true
> 6        medium           preseeded debconf-get-selections             d-i 
> grub-installer/only_debian      boolean true
> 6        medium           preseeded debconf-get-selections --installer d-i 
> grub-installer/only_debian      string  true

d-i preseeding sets values before their type is known, so it always uses the
string type. There's not a bug here that I can see,
debconf-get-selectios is just reporting what d-i did.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to