Package: yaird
Version: 0.0.12-3
Severity: wishlist
Tags: patch

Here is a patch that will load the boottime keymap configure by
console-common before running cryptsetup.

MfG,
Jö.

-- System Information:
Debian Release: testing/unstable
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'testing'), (500, 'stable'), (1, 
'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)

Versions of packages yaird depends on:
ii  cpio                         2.6-10      GNU cpio -- a program to manage ar
ii  dash                         0.5.3-2     The Debian Almquist Shell
ii  libc6                        2.3.5-13    GNU C Library: Shared libraries an
ii  libhtml-template-perl        2.8-1       HTML::Template : A module for usin
ii  libparse-recdescent-perl     1.94.free-1 Generates recursive-descent parser
ii  perl                         5.8.7-10    Larry Wall's Practical Extraction 

yaird recommends no packages.

-- no debconf information

-- 
Das Leben ist eine Krankheit, die tödlich endet.
--- Templates.cfg.orig  2006-02-17 11:31:38.000000000 +0100
+++ Templates.cfg       2006-02-17 11:39:48.000000000 +0100
@@ -319,9 +319,21 @@
        #
        TEMPLATE cryptsetup
        BEGIN
+               FILE "/bin/loadkeys"
+               FILE "/bin/gunzip"
+               FILE "/etc/console/boottime.kmap.gz"
                FILE "/sbin/cryptsetup"
                SCRIPT "/init"
                BEGIN
+                       !# loadkeys from the kbd package has problems
+                       !# uncompressing the keymap on-the-fly when
+                       !# run from initramfs, don't know why
+                       !if [ -e /etc/console/boottime.kmap.gz ]
+                       !then gunzip /etc/console/boottime.kmap.gz
+                       !fi
+                       !if [ -e /etc/console/boottime.kmap ]
+                       !then loadkeys /etc/console/boottime.kmap
+                       !fi
                        !DOCRYPT=1
                        !while [ "$DOCRYPT" != "0" ]
                        !do

Attachment: signature.asc
Description: Digital signature

Reply via email to