On 2020-04-30, Vagrant Cascadian wrote:
> On 2020-04-29, Buck wrote:
>> One difference is you wrote "simple-cdd --locale=en_CH --keyboard=us"
>> but I used "build-simple-cdd --locale=en_CH --keyboard=us" and I think
>> that was just a typo right?  Anyway I also did it your way and the
>> result was the same.
>
> It should make no difference, simple-cdd and build-simple-cdd are
> symlinks to the same file.
>
>
>> So it's looking like a bug.  I will do more testing if you want, including a 
>> new images/ directory.
>
> It sounds like I need to test it for myself at this point and see if I
> can reproduce the issue(s), so maybe best to wait until I get that
> chance. It may take me a week or so.

Sorry it took so long to follow up on this.

So, when I run "simple-cdd --locale=en_CH --keyboard=us" I get a working
installer image that asks which locale to use, presenting text
suggesting what the problem is:

  There is no locale defined for the combination of language and country
  you have selected. ...

When I build an image with "simple-cdd --locale=en_US --keyboard=us" it
skips the question prompting for language, as expected.


So, you need to provide values to debian-installer that are supported by
debian-installer:

  https://www.debian.org/releases/stable/amd64/apbs04.en.html#preseed-l10n

From the looks of it, locales present in /etc/locale.gen should be
supported in general.

I do need to explore using the auto-install/enable=true a.k.a. auto=true
parameter in simple-cdd, or moving simple-cdd to initrd preseeding,
both of which would allow preseeding country/language/keyboard settings
through a preseed file, and possibly allow arbitrary selection of
country and language.


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

Reply via email to