summaryrefslogtreecommitdiffstats
path: root/fedora-livedvd-games.ks
diff options
context:
space:
mode:
authorBruno Wolff III <bruno@wolff.to>2012-07-21 08:18:15 -0500
committerBruno Wolff III <bruno@wolff.to>2012-07-21 08:18:15 -0500
commit776252e75ab84cd05243d4fa9a3be3c6ea79701b (patch)
treec5ec1aebd99b41674ab7b35737751ebec01ef6f5 /fedora-livedvd-games.ks
parentcc9bf95427ee522d188418c44238b50e08d71117 (diff)
downloadspin-kickstarts-776252e75ab84cd05243d4fa9a3be3c6ea79701b.tar.gz
spin-kickstarts-776252e75ab84cd05243d4fa9a3be3c6ea79701b.tar.xz
spin-kickstarts-776252e75ab84cd05243d4fa9a3be3c6ea79701b.zip
Games: Allow joysticks and game pads to work
Diffstat (limited to 'fedora-livedvd-games.ks')
-rw-r--r--fedora-livedvd-games.ks14
1 files changed, 14 insertions, 0 deletions
diff --git a/fedora-livedvd-games.ks b/fedora-livedvd-games.ks
index 7e91988..4a7b847 100644
--- a/fedora-livedvd-games.ks
+++ b/fedora-livedvd-games.ks
@@ -16,6 +16,9 @@ part / --size 10240
-wine
+# Support for joysticks and game pads is now in kernel-modules-extra
+kernel-modules-extra
+
# games
# traditional (big)
@@ -194,3 +197,14 @@ 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