Skip to content

Commit

Permalink
Keyboard: Add missing directory in XO_sfs. Fix typo in rule
Browse files Browse the repository at this point in the history
  • Loading branch information
mavrothal committed Sep 19, 2013
1 parent c03e85d commit bdcbdb2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build_ARMedDog_XO.sh
Original file line number Diff line number Diff line change
Expand Up @@ -371,12 +371,13 @@ SUBSYSTEMS=="bluetooth", GOTO="olpc_keyboard_end"
SUBSYSTEMS=="usb", GOTO="olpc_keyboard_end"
IMPORT{file}="/etc/X11/keyboard"
IMPORT{program}="device-tree-val DEVTREE_COMPAT compatible"
ENV{DEVTREE_COMPAT}=="olpc,xo-1*", RUN+="keymap $name olpc-xo"
ENV{DEVTREE_COMPAT}=="olpc,xo-cl*", RUN+="keymap $name olpc-xo"
ENV{DEVTREE_COMPAT}=="olpc,xo-1*", RUN+="keymap \$name olpc-xo"
ENV{DEVTREE_COMPAT}=="olpc,xo-cl*", RUN+="keymap \$name olpc-xo"
LABEL="olpc_keyboard_end"
EOF
cp -a $XOSFS/etc/udev/rules.d/96-olpckeymap.rules \
$XOSFS/lib/udev/rules.d/96-olpckeymap.rules
mkdir -p $XOSFS/etc/X11
cat << EOF > $XOSFS/etc/X11/keyboard
XKBMODEL="olpcm"
XKBLAYOUT="us"
Expand Down

0 comments on commit bdcbdb2

Please sign in to comment.