]> spindle.queued.net Git - xodist/commitdiff
initchroot: ensure certain modules are loaded
authorAndres Salomon <dilinger@debian.org>
Tue, 23 Sep 2008 20:59:41 +0000 (16:59 -0400)
committerAndres Salomon <dilinger@debian.org>
Tue, 23 Sep 2008 20:59:41 +0000 (16:59 -0400)
Some modules are required in order to get a display (lxfb, fbcon),
others for X to start (scx200_acb, olpc_dcon).

Signed-off-by: Andres Salomon <dilinger@debian.org>
initchroot.sh

index 1d4f3dd5d09a1effc8a6e6113fcd7ad4c13c0a66..1e6765846e1aec81c1aee586a75e3c82672c7253 100755 (executable)
@@ -140,6 +140,15 @@ cp cache/${k} ${ROOT_DIR}/${k}
 (chroot ${ROOT_DIR} dpkg -i /${k})
 rm -f ${ROOT_DIR}/${k}
 
+# ensure certain modules get loaded during boot
+cat >>${ROOT_DIR}/etc/modules<<EOF
+lxfb
+fbcon
+olpc_dcon
+scx200_acb
+i8042
+EOF
+
 echo "debxo" > ${ROOT_DIR}/etc/hostname
 cat >${ROOT_DIR}/etc/hosts<<EOF
 127.0.0.1 localhost.localdomain localhost