Subject: --locale LOCALE don't support Debian 11 bullseye in d-i preseed
Date: Mon, 24 Jan 2022 15:09:42 +0800
Package: simple-cdd
Version: 0.6.8
Severity: normal
X-Debbugs-Cc: [email protected]
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)
-- System Information:
Debian Release: 11.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-10-amd64 (SMP w/4 CPU threads)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages simple-cdd depends on:
ii dctrl-tools 2.24-3+b1
ii debian-cd 3.1.35
ii lsb-release 11.1.0
ii python3 3.9.2-3
ii python3-simple-cdd 0.6.8
ii reprepro 5.3.0-1.2
ii rsync 3.2.3-4+deb11u1
ii wget 1.21-1+deb11u1
Versions of packages simple-cdd recommends:
ii dose-distcheck 6.0.1-2
Versions of packages simple-cdd suggests:
pn qemu-system | qemu-kvm <none>
-- no debconf information
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.