Hi,
The Debian 11 d-i LOCALE use localechooser:
d-i localechooser/languagelist select
to set LOCALE.
Tho old way debian-installer/locale={locale} in the KERNEL_PARAMS is useless.
The Debian 11 d-i localechooser has some debconf choices, I hope them can
support by simple-cdd.
Thanks!
diff --git a/build-simple-cdd b/build-simple-cdd
index 2310b2d..04f1451 100755
--- a/build-simple-cdd
+++ b/build-simple-cdd
@@ -338,7 +338,7 @@ class SimpleCDD:
self.env.append("KERNEL_PARAMS", arg)
if self.env.get("locale"):
- arg = self.env.format("debian-installer/locale={locale}")
+ arg = self.env.format("localechooser/languagelist={locale}")
log.debug("setting default locale (KERNEL_PARAMS += %s)", arg)
self.env.append("KERNEL_PARAMS", arg)