Debian Bug report logs - #1004281
--locale LOCALE don't support Debian 11 bullseye in d-i preseed

version graph

Package: simple-cdd; Maintainer for simple-cdd is Simple-CDD Developers <[email protected]>; Source for simple-cdd is src:simple-cdd (PTS, buildd, popcon).

Reported by: xiao sheng wen(肖盛文) <[email protected]>

Date: Mon, 24 Jan 2022 07:12:01 UTC

Severity: normal

Found in version simple-cdd/0.6.8

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Simple-CDD Developers <[email protected]>:
Bug#1004281; Package simple-cdd. (Mon, 24 Jan 2022 07:12:04 GMT) (full text, mbox, link).


Acknowledgement sent to xiao sheng wen(肖盛文) <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Simple-CDD Developers <[email protected]>. (Mon, 24 Jan 2022 07:12:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: xiao sheng wen(肖盛文) <[email protected]>
To: Debian Bug Tracking System <[email protected]>
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



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 16:08:13 2025; Machine Name: bembo

Debian Bug tracking system

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/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.