From: Marc Fiuczynski Date: Wed, 22 Nov 2006 20:40:48 +0000 (+0000) Subject: Fixed up usb image that uses cramfs and 9600baud serial line console. X-Git-Tag: bootcd-3.4-2~51 X-Git-Url: http://git.onelab.eu/?p=bootcd.git;a=commitdiff_plain;h=ca12b9dd6f3c9fa7eb396f0fafea32100545df86 Fixed up usb image that uses cramfs and 9600baud serial line console. Also added ttyS0 to securetty. --- diff --git a/build.sh b/build.sh index bff2262..0e1f598 100755 --- a/build.sh +++ b/build.sh @@ -378,11 +378,17 @@ popd # update etc/inittab to start with pl_rsysinit sed -i 's,pl_sysinit,pl_rsysinit,' etc/inittab +# modify inittab to have a serial console +echo "T0:23:respawn:/sbin/agetty -L ttyS0 9600 vt100" >> etc/inittab +# and let root log in +echo "ttyS0" >> etc/securetty + #calculate the size of /tmp based on the size of /etc & /var + 8MB slack etcsize=$(du -s ./etc | awk '{ print $1 }') varsize=$(du -s ./etc | awk '{ print $1 }') let msize=($vsize+$esize+8192)/1024 + # generate pl_rsysinit cat > etc/rc.d/init.d/pl_rsysinit <$tmp/syslinux.cfg <