On 12/13/2013 4:21 AM, Teco Boot wrote:
In /usr/share/initramfs-tools:

--- init.org    2013-12-12 20:10:00.000000000 +0000
+++ init        2013-12-12 20:09:42.000000000 +0000
@@ -47,7 +47,7 @@
  export break=
  export init=/sbin/init
  export quiet=n
-export readonly=y
+export readonly=
  export rootmnt=/root
  export debug=
  export panic=
Fix the other way around.  Only change serial setting in inittab for PXE/net 
boot only.

Index: 25serial_inittab
===================================================================
--- 25serial_inittab    (revision 364)
+++ 25serial_inittab    (revision 460)
@@ -47,7 +48,8 @@
 echo "LIVE_GETTY=${LIVE_GETTY}"
 echo "AUTOINSTALL=${AUTOINSTALL}"

-if [ ! -z "${DEFCONSOLE}" ]; then
+## only change inittab serial setting if netboot is defined.
+if [ ! -z "${DEFCONSOLE}" ] && [ ! -z "${NETBOOT}" ]; then
    if echo "${DEFCONSOLE}" | grep -qs ttyS; then
         # AUTOMATIC SERIAL CONSOLE #
         PORT=$(echo "${DEFCONSOLE}" | \




--
Regards,
Kim-man "Punky" Tse

* Open Source Embedded Solutions and Systems
  - Voyage Linux (http://linux.voyage.hk)
  - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
  - Voyage MuBox (http://mubox.voyage.hk)
* Voyage Store   (http://store.voyage.hk)


_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to