summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 14:46:31 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 14:46:31 +0200
commitc972c6eea545add125883eaaeea459551e54589c (patch)
tree5be20832e849293580410b5eb2e03e2c1a880187 /hooks
parentb6a918ee42b1ae85ccd5fc3cd19b78dc8a42492a (diff)
downloadlive-boot-c972c6eea545add125883eaaeea459551e54589c.tar.gz
live-boot-c972c6eea545add125883eaaeea459551e54589c.zip
Adding casper 1.81+debian-4.
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/casper6
1 files changed, 6 insertions, 0 deletions
diff --git a/hooks/casper b/hooks/casper
index 0ca7ecb..b2d1062 100755
--- a/hooks/casper
+++ b/hooks/casper
@@ -75,6 +75,12 @@ manual_add_modules ohci1394
# 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