Source: console-data Version: 2:1.12-5 Severity: important Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: locale X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi, If you build console-data under, say, LANG="fr_CH.UTF-8" some of the generated keymaps are broken. For example, /usr/share/keymaps/include/compose.latin1.inc.gz in console-keymaps-at_1.12-5_all.udeb contains "Fichier binaire (entrée standard) correspondant" instead of the actual keymap when built in a locale that grep interprets as "binary". A *very* quick glance suggests that this is the cause of #410473. Patch attached. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff --git a/debian/trim_keymaps.sh b/debian/trim_keymaps.sh index 24676d8..c0aed01 100755 --- a/debian/trim_keymaps.sh +++ b/debian/trim_keymaps.sh @@ -4,6 +4,6 @@ echo "Trimming and compressing keymaps in $1 .. " T=`tempfile` for keymap in `find $1 -name '*.gz' ` ; do - gunzip < $keymap | grep -v "^#" > $T ; + gunzip < $keymap | grep -av "^#" > $T ; gzip < $T > $keymap done