From bfe0473c94d3977f17898dda1b18faccd3a4160c Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Tue, 23 Sep 2008 16:59:41 -0400 Subject: [PATCH] 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 --- initchroot.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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<