Allow joysticks and game pads to work on live image

Use the joystick-support package to support joysticks and game pads
instead of doing it in post install.
This commit is contained in:
Bruno Wolff III 2012-09-19 06:56:28 -05:00
parent 47cee69cb9
commit 41089215b7
1 changed files with 2 additions and 13 deletions

View File

@ -16,8 +16,8 @@ part / --size 10240
-wine
# Support for joysticks and game pads is now in kernel-modules-extra
kernel-modules-extra
# Allow joysticks and game pads to work
joystick-support
# games
@ -196,14 +196,3 @@ games-menus
-autodownloader
%end
%post
# Load drivers needed for joysticks and game pads so they work out on
# the live image without futzing where possible.
cat > /etc/modules-load.d/joystick.conf << EOF
joydev
analog
EOF
chmod 755 /etc/modules-load.d/joystick.conf
%end