serial-mode bug in squeeze install noticed by: Fernando Membrive Guillén, getty was starting twice

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 14 years ago
parent 95b89b3eb2
commit bb828d2429

@ -30,7 +30,7 @@ unset BETA_KERNEL
unset USB_ROOTFS
unset PRINTK
SCRIPT_VERSION="1.00"
SCRIPT_VERSION="1.01"
IN_VALID_UBOOT=1
MIRROR="http://rcn-ee.net/deb/"
@ -432,6 +432,11 @@ case "$DIST" in
esac
sudo touch ${TEMPDIR}/initrd-tree/etc/rcn.conf
if [ "${SERIAL_MODE}" ] ; then
sudo touch ${TEMPDIR}/initrd-tree/etc/rcn-serial.conf
fi
cd ${TEMPDIR}/initrd-tree/
find . | cpio -o -H newc | gzip -9 > ${TEMPDIR}/initrd.mod.gz
cd ${DIR}/

@ -3,7 +3,7 @@ new file mode 100755
index 0000000..6d06fc7
--- /dev/null
+++ b/usr/lib/finish-install.d/08rcn-omap
@@ -0,0 +1,29 @@
@@ -0,0 +1,31 @@
+#!/bin/sh -e
+cp /etc/e2fsck.conf /target/etc/e2fsck.conf
+
@ -26,7 +26,9 @@ index 0000000..6d06fc7
+ #smsc95xx kevent workaround/hack
+ echo "vm.min_free_kbytes = 8192" >> /target/etc/sysctl.conf
+
+ if [ ! -e /etc/rcn-serial.conf ]; then
+ cat /target/etc/inittab | grep ttyO2 || echo "S:2345:respawn:/sbin/getty 115200 ttyO2" >> /target/etc/inittab
+ fi
+
+ cp -ru /lib/firmware/ /target/lib/
+

Loading…
Cancel
Save