[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#400263: installation report: low memory install (kbd-chooser and ext3 creation)



reassign 400263 lowmem
severity 400263 important
thanks

On Saturday 09 December 2006 20:58, Frans Pop wrote:
> I can reproduce the error in vmware though. Let's reassign this BR to
> kbd-chooser for this one as it could be a programming error or due to
> stripping/deleting translations.

Nice if a hunch pays off.
The problem here was that lowmem's trimtemplates had not yet been told 
about the new "Choices-C" field that was introduced in cdebconf recently 
and thus was happily stripping it from the templates file.

I've applied the following patch to fix that.

--- trimtemplates.c     (revision 43237)
+++ trimtemplates.c     (working copy)
@@ -58,7 +58,8 @@
                           tags_to_remove[i], LANG_TO_KEEP);

                  if( strstr(template_line, tag_to_keep) == NULL &&
-                     strstr(template_line, tags_to_remove[i]) != NULL ) {
+                     strstr(template_line, tags_to_remove[i]) != NULL &&
+                     strstr(template_line, "Choices-C:") == NULL ) {
                          ignore = 1;
                  }
          }

Attachment: pgpKNX4CRwsqW.pgp
Description: PGP signature


Reply to: