X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=initchroot.sh;h=ed729b4c98f4e690198b822df1dbe67e60dfa047;hb=60f69f877850cb64fd3cafd349bdb7b51c06462a;hp=f5efe4da732d403e4fbd9bd2f17946b3b529d001;hpb=d8f3f31cb0dd4593a26bad7eabed6c4900b7622a;p=xodist diff --git a/initchroot.sh b/initchroot.sh index f5efe4d..ed729b4 100755 --- a/initchroot.sh +++ b/initchroot.sh @@ -167,6 +167,7 @@ olpc_dcon scx200_acb i8042 olpc_battery +msr EOF # install packages @@ -197,6 +198,11 @@ EndSection EOF fi +# key bindings/mappings +if [ -d ${ROOT_DIR}/usr/share/hal/fdi/information/10freedesktop/ ]; then + cp 30-keymap-olpc.fdi ${ROOT_DIR}/usr/share/hal/fdi/information/10freedesktop/ +fi + # configure kdm, kde if [ -d ${ROOT_DIR}/etc/kde3/kdm ]; then sed --in-place "s/AllowNullPasswd=false/AllowNullPasswd=true/;s/#AutoLoginEnable=true/AutoLoginEnable=true/;s/#AutoLoginUser=fred/AutoLoginUser=${DEFUSER}/" ${ROOT_DIR}/etc/kde3/kdm/kdmrc