hi,
attached is a small patch with allows to use non-us keymaps if you
encrypt Images.
# cd .../usr/share/initramfs-tools
# patch -p0 < custom_keymap-1.81+debian-3.patch
Regards,
Serkan
--- hooks/casper 2007-03-21 00:30:39.000000000 +0100
+++ casper-new 2007-04-07 11:25:51.000000000 +0200
@@ -75,6 +75,12 @@
# integrity check
copy_exec /usr/lib/casper/casper-md5check /bin
+# allow to load custom keymap for using encryption
+if [ -x /bin/loadkeys ] && [ -r /etc/console/boottime.kmap.gz ]; then
+ copy_exec /bin/loadkeys /bin
+ cp /etc/console/boottime.kmap.gz $DESTDIR/etc/
+fi
+
cp /usr/share/initramfs-tools/scripts/casper-functions $DESTDIR/scripts
cp /usr/share/initramfs-tools/scripts/casper-helpers $DESTDIR/scripts
--- scripts/casper-helpers 2007-03-21 00:30:39.000000000 +0100
+++ casper-helpers-new 2007-04-07 11:28:07.000000000 +0200
@@ -108,6 +108,15 @@
echo "${size}"
}
+
+load_keymap()
+{
+ # Load custom keymap
+ if [ -x /bin/loadkeys -a -r /etc/boottime.kmap.gz ]; then
+ loadkeys /etc/boottime.kmap.gz
+ fi
+}
+
setup_loop() {
local fspath=$1
local module=$2
@@ -130,6 +139,7 @@
else
# Loop AES encryption
while true; do
+ load_keymap
echo -n "Enter passphrase for ${fspath}: " >&6
read -s passphrase
echo "${passphrase}" > /tmp/passphrase
_______________________________________________
Debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel