shr-image.inc: add ugly hack to enable sound module loading
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Fri, 13 Nov 2009 13:49:13 +0000 (14:49 +0100)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Fri, 13 Nov 2009 13:49:13 +0000 (14:49 +0100)
* This is now done for all SHR images, we need to remove for gta01
* This should really be done through module_autoload. Investigate why that does not work

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
recipes/images/shr-image.inc

index 613eb81..f1b9e3e 100644 (file)
@@ -108,6 +108,9 @@ shr_rootfs_postprocess() {
     [ -d ./etc/modutils ] || mkdir ./etc/modutils
     echo "g_ether" > ./etc/modutils/g_ether
     echo "ppp_generic" > ./etc/modutils/ppp_generic
+    # FIXME: Only do this for GTA02
+    # FIXME: investigate why module_autoload in machine config doesn't work
+    echo "snd-soc-neo1973-gta02-wm8753" > ./etc/modutils/snd-soc-neo
 
     #set up some variables to improve default settings
     echo "if [ \"\$DISPLAY\" = \"\" ]" >> ./etc/profile