From: Andres Salomon Date: Tue, 23 Sep 2008 20:59:41 +0000 (-0400) Subject: initchroot: ensure certain modules are loaded X-Git-Tag: v0.2~25 X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfe0473c94d3977f17898dda1b18faccd3a4160c;p=xodist initchroot: ensure certain modules are loaded 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 --- diff --git a/initchroot.sh b/initchroot.sh index 1d4f3dd..1e67658 100755 --- a/initchroot.sh +++ b/initchroot.sh @@ -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< ${ROOT_DIR}/etc/hostname cat >${ROOT_DIR}/etc/hosts<