]> spindle.queued.net Git - xodist/blobdiff - initchroot.sh
initchroot: ensure certain modules are loaded
[xodist] / 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